MATLAB Application Program Interface | Search  Help Desk |
mxIsClass | Examples See Also |
True if mxArray
is a member of the specified class
#include "matrix.h" bool mxIsClass(const mxArray *array_ptr, const char *name);array_ptr
name
as a string (not as an enumerated constant). You can specify any one of the predefined constants, which are:
true
if array_ptr
points to an array having category name
; otherwise, returns false
.
Each mxArray
is tagged as being a certain type. Call mxIsClass
to determine if the specified mxArray
has this type.
See mxisclass.c
in the mx
subdirectory of the examples
directory.
mxIsEmpty
, mxGetClassID
, mxClassID