| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
typedef enum {
mxUNKNOWN_CLASS,
mxCELL_CLASS,
mxSTRUCT_CLASS,
mxLOGICAL_CLASS,
mxCHAR_CLASS,
mxDOUBLE_CLASS,
mxSINGLE_CLASS,
mxINT8_CLASS,
mxUINT8_CLASS,
mxINT16_CLASS,
mxUINT16_CLASS,
mxINT32_CLASS,
mxUINT32_CLASS,
mxINT64_CLASS,
mxUINT64_CLASS,
mxFUNCTION_CLASS
} mxClassID;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.
Identifies a cell mxArray.
Identifies a structure mxArray.
Identifies a logical mxArray, an mxArray whose data is represented as mxLogical.
Identifies a string mxArray, an mxArray whose data is represented as mxChar.
Identifies a numeric mxArray whose data is stored as double-precision, floating-point numbers.
Identifies a numeric mxArray whose data is stored as single-precision, floating-point numbers.
Identifies a numeric mxArray whose data is stored as signed 8-bit integers.
Identifies a numeric mxArray whose data is stored as unsigned 8-bit integers.
Identifies a numeric mxArray whose data is stored as signed 16-bit integers.
Identifies a numeric mxArray whose data is stored as unsigned 16-bit integers.
Identifies a numeric mxArray whose data is stored as signed 32-bit integers.
Identifies a numeric mxArray whose data is stored as unsigned 32-bit integers.
Identifies a numeric mxArray whose data is stored as signed 64-bit integers.
Identifies a numeric mxArray whose data is stored as unsigned 64-bit integers.
Identifies a function handle mxArray.
Various mx* calls require or return an mxClassID argument. mxClassID identifies the way in which the mxArray represents its data elements.
See explore.c in the matlabroot/extern/examples/mex folder .
mxGetClassID , mxCreateNumericArray
![]() | mxChar (C) | mxClassIDFromClassName (Fortran) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |