External Interfaces/API Reference    
mxChar

Data type that string mxArrays use to store their data elements

C Syntax

Description

All string mxArrays store their data elements as mxChar rather than as char. The MATLAB API defines an mxChar as a 16-bit unsigned integer.

Examples

See mxmalloc.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


  mxCalloc mxClassID