| External Interfaces Reference | ![]() |
Fortran Syntax
Arguments
Returns
The address of the first element of the real data, on success. Returns 0 if there is no real data or if there is an error.
Description
Call mxGetData to get a pointer to the real data in the mxArray that pm points to. To copy values from the pointer to Fortran, use one of the mxCopyPtrTo* functions in the manner shown here.
mxGetData is equivalent to using mxGetPr.
See Also
mxGetImagData, mxSetData, mxSetImagData, mxCopyPtrToReal4, mxCopyPtrToReal8, mxGetPr
| mxGetClassName | mxGetDimensions | ![]() |
© 1994-2005 The MathWorks, Inc.