External Interfaces/API Reference | ![]() ![]() |
Inquire if an mxArray
is of type double
Fortran Syntax
integer*4 function mxIsDouble(pm) integer*4 pm
Arguments
pm
Pointer to an mxArray
.
Returns
1 if true, 0 if false. If mxIsDouble
returns 0, the array has no Fortran access functions and your Fortran program cannot use it.
Description
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.
![]() | mxIsComplex | mxIsFull | ![]() |