External Interfaces Reference |
Integer value that identifies class of mxArray
C Syntax
typedef enum { mxUNKNOWN_CLASS = 0, mxCELL_CLASS, mxSTRUCT_CLASS, mxLOGICAL_CLASS, mxCHAR_CLASS, <unused>, mxDOUBLE_CLASS, mxSINGLE_CLASS, mxINT8_CLASS, mxUINT8_CLASS, mxINT16_CLASS, mxUINT16_CLASS, mxINT32_CLASS, mxUINT32_CLASS, mxINT64_CLASS, mxUINT64_CLASS, mxFUNCTION_CLASS } mxClassID;
Constants
mxUNKNOWN_CLASS
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.
mxCELL_CLASS
Identifies a cell mxArray
.
mxSTRUCT_CLASS
Identifies a structure mxArray
.
mxLOGICAL_CLASS
Identifies a logical mxArray
; that is, an mxArray
that stores Boolean elements logical 1
(true
) and logical 0
(false
).
mxCHAR_CLASS
Identifies a string mxArray
; that is an mxArray
whose data is represented as mxCHAR
's.
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
Identifies a numeric mxArray
whose data is stored as signed 64-bit integers.
mxUINT64_CLASS
Identifies a numeric mxArray
whose data is stored as unsigned 64-bit integers.
mxFUNCTION_CLASS
Identifies a function handle mxArray
.
Description
Various mx calls require or return an mxClassID
argument. mxClassID
identifies the way in which the mxArray
represents its data elements.
Examples
See explore.c
in the mex
subdirectory of the examples
directory.
See Also
mxChar | mxClearLogical (Obsolete) |
© 1994-2005 The MathWorks, Inc.