| MATLAB Compiler | ![]() |
mwArray(int num_strings, const char** str)
Construct character matrix from list of strings.
C++ syntax
Arguments
num_strings. Number of strings in the input array
str. Array of NULL-terminated strings
Return value
Description
Use this constructor to create a matrix of type mxCHAR_CLASS, and initialize the array's data with the characters in the supplied strings. The created array has dimensions m-by-max, where max is the length of the longest string in str.
| mwArray(const char* str) | mwArray(int num_rows, int num_cols, int num_fields, const char** fieldnames) | ![]() |
© 1994-2005 The MathWorks, Inc.