This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mxChar (C)

Type for string array


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"


See the following examples in matlabroot/extern/examples/mx.

See the following examples in matlabroot/extern/examples/mex.


  • For information about data in MATLAB language scripts and functions, see Data Types.

Introduced before R2006a

Was this topic helpful?