mxCreateCharMatrixFromStrings (C)
2-D mxChar
array initialized to specified value
C Syntax
#include "matrix.h" mxArray *mxCreateCharMatrixFromStrings(mwSize m, const char **str);
Description
Use mxCreateCharMatrixFromStrings
to create a two-dimensional
mxArray
, where each row is initialized to a string from
str
. The mxArray
has dimensions
m
-by-max
, where max
is the length
of the longest string in str
.
The mxArray
represents its data elements as mxChar
rather than as C char
.
Input Arguments
Output Arguments
Version History
Introduced before R2006a