External Interfaces/API Reference |
True if mxArray
is a member of the specified class
Fortran Syntax
Arguments
classname
A character
array specifying the class name you are testing for. You can specify any one of the following predefined constants.
cell |
char |
double |
function_handle |
int8 |
int16 |
int32 |
object |
single |
sparse |
struct |
uint8 |
uint16 |
uint32 |
<class_name > |
unknown |
In the table, <
class_name
>
represents the name of a specific MATLAB custom object. You can also specify one of your own class names.
Returns
1
if pm
points to an array having category classname
, and 0
otherwise.
Description
Each mxArray
is tagged as being a certain type. Call mxIsClass
to determine if the specified mxArray
has this type.
Example
is equivalent to calling either one of the following
It is more efficient to use the mxIsDouble
form.
See Also
mxIsChar | mxIsComplex |