External Interfaces/API Reference |
Set new imaginary data for an mxArray
Fortran Syntax
Arguments
pm
Pointer to a full (nonsparse) mxArray
.
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 errors will result when the array is destroyed.
Description
Use mxSetPi
to set the imaginary data of the specified mxArray
.
See the description for mxSetImagData
, which is an equivalent function to mxSetPi
.
See Also
mxSetPr
, mxGetPi
, mxGetPr
, mxSetImagData
mxSetNzmax | mxSetPr |