External Interfaces Reference Previous page   Next Page
mxIsDouble

Determine if mxArray is of type double

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

Logical 1 (true) if mxArray is of type double; and logical 0 (false) otherwise. 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.

Calling mxIsDouble is equivalent to calling


Previous page  mxIsComplex mxIsEmpty Next page

© 1994-2005 The MathWorks, Inc.