| External Interfaces/API Reference | ![]() |
True if mxArray represents its data as single-precision, floating-point numbers
C Syntax
#include "matrix.h" bool mxIsSingle(const mxArray *array_ptr);
Arguments
array_ptr
Pointer to an mxArray.
Returns
true if the array stores its data as single-precision, floating-point numbers, and false otherwise.
Description
Use mxIsSingle to determine whether or not the specified array represents its real and imaginary data as single-precision, floating-point numbers.
Calling mxIsSingle is equivalent to calling
mxGetClassID(array_ptr) == mxSINGLE_CLASS
See Also
| mxIsNumeric | mxIsSparse | ![]() |