| MATLAB Application Program Interface | Search  Help Desk |
| mxChar | Examples See Also |
Data type that string mxArrays use to store their data elements
C Definition
typedef Uint16 mxChar;
Description
All stringmxArrays store their data elements as mxChar rather than as char. The MATLAB API defines an mxChar as a 16-bit unsigned integer.
Examples
Seemxmalloc.c in the mx subdirectory of the examples directory.
For additional examples, see explore.c in the mex subdirectory of the examples directory and mxcreatecharmatrixfromstr.c in the mx subdirectory of the examples directory.
See Also
mxCreateCharArray