| MATLAB Compiler | ![]() |
void Set(const mwArray& arr)
Assign shared copy of input array to currently referenced cell for arrays of type mxCELL_CLASS and mxSTRUCT_CLASS.
C++ syntax
#include "mclcppclass.h" mwArray a(2, 2, mxDOUBLE_CLASS); mwArray b(2, 2, mxINT16_CLASS); mwArray c(1, 2, mxCELL_CLASS); c.Get(1,1).Set(a); // Sets c(1) = a a.Get(1,2).Set(b); // Sets c(2) = b
Arguments
arr. mwArray to assign to currently referenced cell.
Return value
Description
Use this method to construct cell and struct arrays.
| mwArray Imag() | void GetData(<numeric-type>* buffer, int len) const | ![]() |
© 1994-2005 The MathWorks, Inc.