| MATLAB Application Program Interface Reference | Help Desk |
mxSetClassName
Convert a MATLAB structure array to a MATLAB object array by specifying a class name to associate with the object
#include "matrix.h" int mxSetClassName(mxArray *array_ptr, const char *classname);array_ptr
Pointer to an mxArray of class mxSTRUCT_CLASS.
The object class to which to convert array_ptr.
LOAD command. If the specified classname is an undefined class within MATLAB, LOAD converts the object back to a simple structure array.
mxIsClass, mxGetClassID