MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
mxIsNumeric    Examples   See Also

True if mxArray is numeric

C Syntax

Arguments

array_ptr
  Pointer to an mxArray.

Returns

true if the array's storage type is:

Returns 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 false. Otherwise, mxIsNumeric returns true.

Call mxGetClassID to determine the exact storage type.

Example

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

See Also

mxGetClassID



[ Previous | Help Desk | Next ]