Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS