GetObject

From COSSAN Wiki
Jump to: navigation, search

Description

This wrapper is used to retrieve an Cossan object form the matlab workspace or matlab file and, if required, to convert a COSSAN object in a Stucture (MWStructArray).

Input Arguments


Argument order
Type
required
description
1 string yes Object name
2 string no full path of a matlab output file (.mat), if this input argument is not provided the object is retrived from the matlab file


Output Arguments


Argument order
Type
required
description
1 MWCellArray yes Matlab object
2 MWCharArray no Type of the object
3 MWStructArray no Structure array


Usage

[Cobject, Stype, Tstructure]=w_getObject('Xm','/myPath/myName.mat')


See Also