External Interfaces Reference Previous page   Next Page
mxIsNumeric

Determine if mxArray contains numeric data

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

1 if the mxArray contains numeric data, and 0 otherwise.

Description

Call mxIsNumeric to inquire whether or not the mxArray contains numeric data, such as data of class double or uint16. Note that logical data is not numeric.

Example

See matdemo1.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to use this routine in a Fortran program.

See Also

mxIsString (Obsolete)


Previous page  mxIsNaN mxIsSingle Next page

© 1994-2005 The MathWorks, Inc.