Determine whether mxArray represents data as single-precision, floating-point numbers
#include "fintrf.h" integer*4 mxIsSingle(pm) mwPointer pm
mxIsSingle
returns 1
if the
mxArray
stores its real and imaginary data as single-precision,
floating-point numbers. Otherwise, it returns 0
.
In Fortran, calling mxIsSingle
is equivalent to calling:
mxGetClassName(pm) .eq. 'single'