External Interfaces Reference Previous page   Next Page
mxSetPr

Set new real data for mxArray

Fortran Syntax

Arguments

pm
   Pointer to a full (nonsparse) mxArray.

pr
   Pointer to the first element of an array. Each element in the array contains the real component of a value. The array must be in dynamic memory; call mxCalloc to allocate this dynamic memory.

Description

Use mxSetPr to set the real data of the specified mxArray.

See the description for mxSetData, which is an equivalent function to mxSetPr.

See Also

mxSetPi, mxGetPr, mxGetPi, mxSetData


Previous page  mxSetPi Fortran MEX-Functions Next page

© 1994-2005 The MathWorks, Inc.