External Interfaces Reference Previous page   Next Page
mxChar

Data type for string mxArray

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


Previous page  mxCalloc mxClassID Next page

© 1994-2005 The MathWorks, Inc.