MATLAB Application Program Interface | Search  Help Desk |
mxClassID | See Also |
Enumerated data type that identifies an mxArray's
class (category)
typedef enum { mxCELL_CLASS = 1, mxSTRUCT_CLASS, mxOBJECT_CLASS, mxCHAR_CLASS, mxSPARSE_CLASS, mxDOUBLE_CLASS, mxSINGLE_CLASS, mxINT8_CLASS, mxUINT8_CLASS, mxINT16_CLASS, mxUINT16_CLASS, mxINT32_CLASS, mxUINT32_CLASS, mxINT64_CLASS, /* place holder - future enhancements */ mxUINT64_CLASS, /* place holder - future enhancements */ mxUNKNOWN_CLASS = -1 } mxClassID;mxCELL_CLASS
mxArray
.
mxSTRUCT_CLASS
mxArray
.
mxOBJECT_CLASS
mxArray
.
mxCHAR_CLASS
mxArray
; that is an mxArray
whose data is represented as mxCHAR
's.
mxSPARSE_CLASS
mxArray
; that is, an mxArray
that only stores its nonzero elements.
mxDOUBLE_CLASS
mxArray
whose data is stored as double-precision, floating-point numbers.
mxSINGLE_CLASS
mxArray
whose data is stored as single-precision, floating-point numbers.
mxINT8_CLASSIdentifies a numeric
mxArray
whose data is stored as signed 8-bit integers.
mxUINT8_CLASSIdentifies a numeric
mxArray
whose data is stored as unsigned 8-bit integers.
mxINT16_CLASSIdentifies a numeric
mxArray
whose data is stored as signed 16-bit integers.
mxUINT16_CLASSIdentifies a numeric
mxArray
whose data is stored as unsigned 16-bit integers.
mxINT32_CLASSIdentifies a numeric
mxArray
whose data is stored as signed 32-bit integers.
mxUINT32_CLASSIdentifies a numeric
mxArray
whose data is stored as unsigned 32-bit integers.
mxINT64_CLASSReserved for possible future use.
mxUINT64_CLASSReserved for possible future use.
mxUNKNOWN_CLASS = -1The class cannot be determined. You cannot specify this category for an
mxArray
; however, mxGetClassID
can return this value if it cannot identify the class.
Various mx calls require or return an mxClassID
argument. mxClassID
identifies the way in which the mxArray
represents its data elements.
mxCreateNumericArray