mxIsNumeric (Fortran)
Determine whether mxArray is numeric
Fortran Syntax
#include "fintrf.h" integer*4 mxIsNumeric(pm) mwPointer pm
Description
Call mxIsNumeric to determine whether the specified array
contains numeric data. If the array has a storage type that represents numeric data,
then mxIsNumeric returns 1. Call mxGetClassID to determine the storage type. These class IDs represent
storage types for arrays that can contain numeric data:
mxDOUBLE_CLASSmxSINGLE_CLASSmxINT8_CLASSmxUINT8_CLASSmxINT16_CLASSmxUINT16_CLASSmxINT32_CLASSmxUINT32_CLASSmxINT64_CLASSmxUINT64_CLASS
Otherwise, mxIsNumeric returns 0.
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","eng_mat","filename")]);
where filename is:
Version History
Introduced before R2006a