| MATLAB® | ![]() |
#include "matrix.h" bool mxIsNumeric(const mxArray *pm);
integer*4 mxIsNumeric(pm) mwPointer pm
Pointer to an mxArray
Logical 1 (true) if the array can contain numeric data. The following class IDs represent storage types for arrays that can contain numeric data:
mxDOUBLE_CLASS
mxSINGLE_CLASS
mxINT8_CLASS
mxUINT8_CLASS
mxINT16_CLASS
mxUINT16_CLASS
mxINT32_CLASS
mxUINT32_CLASS
mxINT64_CLASS
mxUINT64_CLASS
Logical 0 (false) if the array cannot contain numeric data.
Call mxIsNumeric to determine whether the specified array contains numeric data. If the specified array has a storage type that represents numeric data, mxIsNumeric returns logical 1 (true). Otherwise, mxIsNumeric returns logical 0 (false).
Call mxGetClassID to determine the exact storage type.
See phonebook.c in the refbook subdirectory of the examples directory.
See matdemo1.F in the eng_mat subdirectory of the examples directory.
![]() | mxIsNaN (C and Fortran) | mxIsSingle (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |