mxComplexity (C) - Flag specifying whether mxArray has imaginary components
C Syntax
typedef enum mxComplexity {mxREAL=0, mxCOMPLEX};Constants
- mxREAL
Identifies an mxArray with no imaginary components.
- mxCOMPLEX
Identifies an mxArray with imaginary components.
Description
Various mx* calls require an mxComplexity argument.
You can set an mxComplex argument to either mxREAL or mxCOMPLEX.
Examples
See mxcalcsinglesubscript.c
in the matlabroot/extern/examples/mx folder
.
See Also
mxCreateNumericArray, mxCreateDoubleMatrix, mxCreateSparse
 | mxClassIDFromClassName (Fortran) | | mxCopyCharacterToPtr (Fortran) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit