mxIsComplex (Fortran)
Determine whether data is complex
Fortran Syntax
#include "fintrf.h" integer*4 mxIsComplex(pm) mwPointer pm
Description
mxIsComplex returns 1 if an imaginary part is
allocated for an mxArray. If an mxArray does not
have any imaginary data, then the function returns 0. If an
mxArray is complex, then pi points to an array
of numbers.
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename is:
Version History
Introduced before R2006a