mxCreateCharArray (C)
N-DmxChar
array
C Syntax
#include "matrix.h" mxArray *mxCreateCharArray(mwSize ndim, const mwSize *dims);
Description
UsemxCreateCharArray
to create an N-dimensionalmxChar
array with each element set toNULL
.
MATLAB®automatically removes any trailing singleton dimensions specified in thedims
论点。例如,如果ndim
equals5
anddims
equals[4 1 7 1 1]
, then the resulting array has the dimensions4
-by-1
-by-7
.