mxGetClassID (C)
Class of mxArray
C Syntax
#include "matrix.h" mxClassID mxGetClassID(const mxArray *pm);
Description
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.
Input Arguments
Output Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mex","filename")]);
where filename is:
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename is:
Version History
Introduced before R2006a