MATLAB Application Program Interface | Search  Help Desk |
mxIsSingle | See Also |
True if mxArray
represents its data as single-precision, floating-point numbers
#include "matrix.h" bool mxIsSingle(const mxArray *array_ptr);array_ptr
mxArray
.
true
if the array stores its data as single-precision, floating-point numbers; otherwise, returns false
.
Use mxIsSingle
to determine whether or not the specified array represents its real and imaginary data as single-precision, floating-point numbers.
Calling mxIsDouble
is equivalent to calling
mxGetClassID(array_ptr) == mxSINGLE_CLASS
mxIsClass
, mxGetClassID