This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mxComplexity (C)

Flag specifying whether array has imaginary components

C Syntax

typedef enum mxComplexity {mxREAL=0, mxCOMPLEX};



Identifies an mxArray with no imaginary components.


Identifies an mxArray with imaginary components.


Various Matrix Library functions require an mxComplexity argument. You can set an mxComplex argument to either mxREAL or mxCOMPLEX.


See the following examples in matlabroot/extern/examples/mx.

Introduced before R2006a

Was this topic helpful?