mxIsDouble (Fortran)
Determine whether mxArray represents data as double-precision, floating-point numbers
Fortran Syntax
#include "fintrf.h" integer*4 mxIsDouble(pm) mwPointer pm
Description
mxIsDouble returns 1 if the
mxArray stores its real and imaginary data as double-precision,
floating-point numbers. Otherwise, it returns 0.
Older versions of MATLAB® store all mxArray data as double-precision,
floating-point numbers. However, starting with MATLAB Version 5 software, MATLAB can store real and imaginary data in other numerical formats.
In Fortran, calling mxIsDouble is equivalent to calling:
mxGetClassName(pm) .eq. 'double'
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename is:
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mx","filename")]);
where filename is:
Version History
Introduced before R2006a