User`s guide

mwArray Class
mwArray Class
In this section...
“About mwArray” on page C-29
“Constructors” on page C-29
“Methods” o n page C-30
“Operators” o n page C-31
“Static Methods” on page C-31
About mwArray
Use the mwArray class to pass input/output arguments to MATLAB Compiler
generated C++ interface functions. This class consists of a thin wrapper
around a MATLAB array. The
mwArray class p rovides the necessary
constructors, methods, and operators for array creation and initialization,
as well as simple indexing.
Note A rithmetic operators, such as addition and s ubtraction, are no longer
supported as of Release 14.
Constructors
mwArray()
mwArray(mxClassID mxID)
mwArray(mwSize num_r ows, mwSize num _col s, mxCl assID mxID,
mxComplexity cmplx = mxREAL)
mwArray(mwSize num_d ims, const mwSi ze* dims, mxCla ssID mxI D,
mxComplexity cmplx = mxREAL)
mwArray(const char* str)
mwArray(mwSize num_s trin gs, con st char** str)
mwArray(mwSize num_r ows, mwSize num _col s, int num_fields,
const char** fieldnames)
C-29