Main Content
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
Version History
Introduced before R2006a