External Interfaces Reference Previous page   Next Page
mxGetPr

Get real data elements of mxArray

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

The address of the first element of the real data. Returns 0 if there is no real data.

Description

Use mxGetPr to determine the starting address of the real data in the mxArray that pm points to.

See the description for mxGetData, which is an equivalent function to mxGetPr.

Example

See matdemo1.f and fengdemo.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to use this routine in a Fortran program.

See Also

mxGetPi, mxSetPr, mxSetPi, mxGetData


Previous page  mxGetPi mxGetScalar Next page

© 1994-2005 The MathWorks, Inc.