| MATLAB Application Program Interface | Search  Help Desk |
| mxIsDouble |
Inquire if an mxArray is of type double
Fortran Syntax
integer*4 function mxIsDouble(pm) integer*4 pm
Arguments
pmmxArray.
Returns
1 if true, 0 if false. IfmxIsDouble returns 0, the array has no Fortran access functions and your Fortran program cannot use it.
Description
CallmxIsDouble 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.