| MATLAB® Compiler™ | ![]() |
| On this page… |
|---|
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 provides the necessary constructors, methods, and operators for array creation and initialization, as well as simple indexing.
Note Arithmetic operators, such as addition and subtraction, are no longer supported as of Release 14. |
mwArray(mwSize num_rows, mwSize num_cols, mxClassID mxID, mxComplexity cmplx = mxREAL)
mwArray(mwSize num_dims, const mwSize* dims, mxClassID mxID, mxComplexity cmplx = mxREAL)
mwArray(mwSize num_rows, mwSize num_cols, int num_fields, const char** fieldnames)
mwArray(mwSize num_dims, const mwSize* dims, int num_fields, const char** fieldnames)
mwArray operator()(mwIndex i1, mwIndex i2, mwIndex i3, ..., )
mwArray operator()(const char* name, mwIndex i1, mwIndex i2, mwIndex i3, ..., )
![]() | mwException& operator=(const std::exception& e) | mwArray Class Functions | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |