MATLAB Application Program Interface Reference Help Desk

mxIsDouble

Purpose

True if mxArray represents its data as double-precision, floating-point numbers

C Syntax

Arguments

array_ptr

Pointer to an mxArray.

Returns

true if the mxArray stores its data as double-precision, floating-point numbers; otherwise, returns false.

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

See Also

mxIsClass, mxGetClassID



[ Previous | Help Desk | Next ]