mxCreateCharArray (C)
N-D mxChar
array
C Syntax
#include "matrix.h" mxArray *mxCreateCharArray(mwSize ndim, const mwSize *dims);
Description
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
.
Input Arguments
Output Arguments
Version History
Introduced before R2006a