mxClassID
Enumerated value identifying class of array
C Syntax
typedef enum { mxUNKNOWN_CLASS, mxCELL_CLASS, mxSTRUCT_CLASS, mxLOGICAL_CLASS, mxCHAR_CLASS, mxVOID_CLASS, mxDOUBLE_CLASS, mxSINGLE_CLASS, mxINT8_CLASS, mxUINT8_CLASS, mxINT16_CLASS, mxUINT16_CLASS, mxINT32_CLASS, mxUINT32_CLASS, mxINT64_CLASS, mxUINT64_CLASS, mxFUNCTION_CLASS } mxClassID;
Description
Various C Matrix API functions require or return an mxClassID
argument. mxClassID
identifies how the mxArray
represents its data elements.
Constants
mxUNKNOWN_CLASS
Undetermined class. You cannot specify this category for an
mxArray
. However, if mxGetClassID
cannot identify the class, it returns this value.
mxCELL_CLASS
Cell mxArray
.
mxSTRUCT_CLASS
Structure mxArray
.
mxLOGICAL_CLASS
Logical mxArray
of mxLogical
data.
mxCHAR_CLASS
String mxArray
of mxChar
data.
mxVOID_CLASS
Reserved.
mxDOUBLE_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB® Type | double |
C Real Data Type | typedef double mxDouble; |
C Complex Data Type | typedef struct { mxDouble real, imag; }
mxComplexDouble; |
mxSINGLE_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxINT8_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxUINT8_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxINT16_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxUINT16_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxINT32_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxUINT32_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxINT64_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxUINT64_CLASS
Numeric mxArray
of either real or complex data types.
MATLAB Type |
|
C Real Data Type |
|
C Complex Data Type |
|
mxFUNCTION_CLASS
Identifies a function handle mxArray
.
Version History
Introduced before R2006a
See Also
mxGetClassID
| mxCreateNumericArray
| matlab::data::ArrayType