mxSetImagData (Fortran)
Set imaginary data elements in numeric mxArray
mxSetImagData is not available in the interleaved complex API. Use
typed, data-access functions instead. For more information, see Version History.
Fortran Syntax
#include "fintrf.h" subroutine mxSetImagData(pm, pi) mwPointer pm, pi
Description
The mxSetImagData function is similar to
mxSetPi. Use this function on numeric arrays with contents
other than double.
The mxSetImagData function does not free memory allocated for
existing data. To free existing memory, call mxFree on the pointer
returned by mxGetImagData.