| Contents | Index |
#include "matrix.h" mxClassID mxGetClassID(const mxArray *pm);
integer*4 mxGetClassID(pm) mwPointer pm
Numeric identifier of the class (category) of the mxArray that pm points to. For a list of C-language class identifiers, see the mxClassID reference page.
Use mxGetClassId to determine the class of an mxArray. The class of an mxArray identifies the kind of data the mxArray is holding. For example, if pm points to a logical mxArray, then mxGetClassId returns mxLOGICAL_CLASS (in C).
mxGetClassId is like mxGetClassName, except that the former returns the class as an integer identifier and the latter returns the class as a string.
See the following examples in matlabroot/extern/examples/mex.
See the following examples in matlabroot/extern/examples/refbook.

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