External Interfaces Reference Previous page   Next Page
mxIsComplex

Determine if mxArray is complex

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

1 if complex, and 0 otherwise.

Description

Use mxIsComplex to determine whether or not an imaginary part is allocated for an mxArray. The imaginary pointer pi is 0 if an mxArray is purely real and does not have any imaginary data. If an mxArray is complex, pi points to an array of numbers.

See Also

mxIsNumeric


Previous page  mxIsClass mxIsDouble Next page

© 1994-2005 The MathWorks, Inc.