2-D structure array
#include "matrix.h" mxArray *mxCreateStructMatrix(mwSize m, mwSize n, int nfields, const char **fieldnames);
Call mxCreateStructMatrix
to create an unpopulated, two-dimensional,
structure mxArray
. For information about the structure, see mxCreateStructArray
.
Call mxDestroyArray
when you finish using the
mxArray
to deallocate the mxArray
and its associated
elements.