External Interfaces/API Reference    
mxIsComplex

Inquire if an 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


  mxIsClass mxIsDouble