MATLAB Application Program Interface Reference | Help Desk |
mxSetImagData
Set imaginary data pointer for anmxArray
#include "matrix.h" void mxSetImagData(mxArray *array_ptr, void *pi);array_ptr pi
Pointer to the first element of an array. Each element in the array contains the imaginary component of a value. The array must be in dynamic memory; call mxCalloc
to allocate this dynamic memory. If pi
points to static memory, memory leaks and other memory errors may result.
mxSetPi