mxCreateStructMatrix (C)
2-D structure array
C Syntax
#include "matrix.h" mxArray *mxCreateStructMatrix(mwSize m, mwSize n, int nfields, const char **fieldnames);
Description
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.
Input Arguments
Output Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename
is:
Version History
Introduced before R2006a