mxGetImagData (C and Fortran) - Pointer to imaginary data of mxArray
C Syntax
#include "matrix.h"
void *mxGetImagData(const mxArray *pm);
Fortran Syntax
mwPointer mxGetImagData(pm)
mwPointer pm
Arguments
- pm
Pointer to an mxArray
Returns
Pointer to the first element of the imaginary data. Returns NULL in
C (0 in Fortran) if there is no imaginary data
or if there is an error.
Description
This function is like mxGetPi, except that
in C it returns a void *.
C Examples
See mxisfinite.c
in the matlabroot/extern/examples/mx folder
.
See Also
mxGetData, mxGetPi
 | mxGetFieldNumber (C and Fortran) | | mxGetInf (C and Fortran) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit