Main Content
mxCreateCharArray (Fortran)
N-D mxChar
array
Fortran Syntax
#include "fintrf.h" mwPointer mxCreateCharArray(ndim, dims) mwSize ndim mwSize dims(ndim)
Description
Use mxCreateCharArray
to create an N-dimensional
mxChar
array with each element set to
0
.
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