mxChar (C)
Type for string array
Description
MATLAB® stores an mxArray
string as type
mxChar
to represent the C-style char
type.
MATLAB uses 16-bit unsigned integer character encoding for Unicode® characters.
The header file containing this type is:
#include "matrix.h"
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mx","filename")]);
where filename
is:
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mex","filename")]);
where filename
is:
See Also
Tips
For information about data in MATLAB language scripts and functions, see Data Types.
Version History
Introduced before R2006a