External Interfaces/API Reference | ![]() ![]() |
Get pointer to imaginary data of an mxArray
C Syntax
#include "matrix.h" void *mxGetImagData(const mxArray *array_ptr);
Arguments
array_ptr
Pointer to an mxArray
.
Description
Similar to mxGetPi
, except it returns a void *
. Use mxGetImagData
on numeric arrays with contents other than double
.
Example
See mxisfinite.c
in the mx
subdirectory of the examples
directory.
See Also
![]() | mxGetFieldNumber | mxGetInf | ![]() |