| MATLAB Application Program Interface Reference | Help Desk |
mxIsDouble
Inquire if anmxArray is of type double
integer*4 function mxIsDouble(pm) integer*4 pmpm 1 if true, 0 if false. If
mxIsDouble returns 0, the array has no Fortran access functions and your Fortran program cannot use it.
Call mxIsDouble to determine whether or not the specified mxArray represents its real and imaginary data as double-precision, floating-point numbers.
Older versions of MATLAB store all mxArray data as double-precision, floating-point numbers. However, starting with MATLAB 5, MATLAB can store real and imaginary data in a variety of numerical formats.