External Interfaces Reference Previous page   Next Page
mxIsNumeric

Determine if mxArray is numeric

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

Logical 1 (true) if the array's storage type is:

Logical 0 (false) if the array's storage type is:

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 logical 0 (false). Otherwise, mxIsNumeric returns logical 1 (true).

Call mxGetClassID to determine the exact storage type.

Examples

See phonebook.c in the refbook subdirectory of the examples directory.

See Also

mxGetClassID


Previous page  mxIsNaN mxIsSingle Next page

© 1994-2005 The MathWorks, Inc.