External Interfaces/API Reference    
mxClassID

Enumerated data type that identifies an mxArray's class (category)

C Syntax

Constants
mxCELL_CLASS
   Identifies a cell mxArray.

mxSTRUCT_CLASS
   Identifies a structure mxArray.

mxOBJECT_CLASS
   Identifies a user-defined (nonstandard) mxArray.

mxCHAR_CLASS
   Identifies a string mxArray; that is an mxArray whose data is represented as mxCHAR's.

mxSPARSE_CLASS
   Identifies a sparse mxArray; that is, an mxArray that only stores its nonzero elements.

mxDOUBLE_CLASS
   Identifies a numeric mxArray whose data is stored as double-precision, floating-point numbers.

mxSINGLE_CLASS
   Identifies a numeric mxArray whose data is stored as single-precision, floating-point numbers.

mxINT8_CLASS
   Identifies a numeric mxArray whose data is stored as signed 8-bit integers.

mxUINT8_CLASS
   Identifies a numeric mxArray whose data is stored as unsigned 8-bit integers.

mxINT16_CLASS
   Identifies a numeric mxArray whose data is stored as signed 16-bit integers.

mxUINT16_CLASS
   Identifies a numeric mxArray whose data is stored as unsigned 16-bit integers.

mxINT32_CLASS
   Identifies a numeric mxArray whose data is stored as signed 32-bit integers.

mxUINT32_CLASS
   Identifies a numeric mxArray whose data is stored as unsigned 32-bit integers.

mxINT64_CLASS
   Reserved for possible future use.

mxUINT64_CLASS
   Reserved for possible future use.

mxUNKNOWN_CLASS = -1
   The class cannot be determined. You cannot specify this category for an mxArray; however, mxGetClassID can return this value if it cannot identify the class.

Description

Various mx calls require or return an mxClassID argument. mxClassID identifies the way in which the mxArray represents its data elements.

Example

See explore.c in the mex subdirectory of the examples directory.

See Also

mxCreateNumericArray


 mxChar mxClearLogical