External Interfaces Reference Previous page   Next Page
mxSetPi

Set new imaginary data for 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


Previous page  mxSetNzmax mxSetPr Next page

© 1994-2005 The MathWorks, Inc.