MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
mxIsDouble

Inquire if an mxArray is of type double

Fortran Syntax

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.



[ Previous | Help Desk | Next ]