N-D mxChar
array
#include "matrix.h" mxArray *mxCreateCharArray(mwSize ndim, const mwSize *dims);
Use mxCreateCharArray
to create an N-dimensional
mxChar
array with each element set to NULL
.
MATLAB® automatically removes any trailing singleton dimensions specified in the
dims
argument. For example, if ndim
equals
5
and dims
equals [4 1 7 1 1]
, then
the resulting array has the dimensions
4
-by-1
-by-7
.