| External Interfaces/API Reference | ![]() |
C Syntax
Arguments
array_ptr
Pointer to an mxArray.
Returns
true if the array's storage type is:
mxDOUBLE_CLASS
mxSINGLE_CLASS
mxINT8_CLASS
mxUINT8_CLASS
mxINT16_CLASS
mxUINT16_CLASS
mxINT32_CLASS
mxUINT32_CLASS
false if the array's storage type is:
mxCELL_CLASS
mxCHAR_CLASS
mxFUNCTION_CLASS
mxLOGICAL_CLASS
mxOBJECT_CLASS
mxSTRUCT_CLASS
mxUNKNOWN_CLASS
Description
Call mxIsNumeric to determine if the specified array contains numeric data. If the specified array is a cell, string, or a structure, then mxIsNumeric returns false. Otherwise, mxIsNumeric returns true.
Call mxGetClassID to determine the exact storage type.
Examples
See phonebook.c in the refbook subdirectory of the examples directory.
See Also
| mxIsNaN | mxIsSingle | ![]() |