External Interfaces/API Reference |
True if mxArray
is a member of the specified class
C Syntax
Arguments
array_ptr
Pointer to an array.
name
The array category that you are testing. Specify name
as a string (not as an enumerated constant). You can specify any one of the following predefined constants:
In the table, <class_name>
represents the name of a specific MATLAB custom object.
Or, you can specify one of your own class names.
which is equivalent to calling
Note that it is most efficient to use the mxIsDouble
form.
Returns
true
if array_ptr
points to an array having category name
, and false
otherwise.
Description
Each mxArray
is tagged as being a certain type. Call mxIsClass
to determine if the specified mxArray
has this type.
Examples
See mxisclass.c
in the mx
subdirectory of the examples
directory.
See Also
mxIsEmpty
, mxGetClassID
, mxClassID
mxIsChar | mxIsComplex |