mxGetData (Fortran)
Data elements in nonnumeric mxArray
mxGetData
is not recommended for numeric arrays. Use typed, data-access
functions instead. For more information, see Version History.
Fortran Syntax
#include "fintrf.h" mwPointer mxGetData(pm) mwPointer pm
Description
Use mxGetData
to get data elements for nonnumeric arrays only.
For numeric arrays, MathWorks recommends that you create MEX files and update existing MEX files to use the typed, data-access functions in the interleaved complex API. For more information, see:
To build the MEX file, call mex
with the -R2018a
option.