DocumentationHelp Center
Real data elements in mxSINGLE_CLASS array
mxSINGLE_CLASS
#include "fintrf.h" mwPointer mxGetSingles(pa) mwPointer pa
expand all
pa
mwPointer
Pointer to an mxSINGLE_CLASS array.
dt
0
Pointer to the first mxSingle element of the data. If pa is 0, then the function returns 0.
mxSingle
If mxArray is not an mxSINGLE_CLASS array:
mxArray
MEX file — Function terminates the MEX file and returns control to the MATLAB® prompt.
Standalone (non-MEX file) application — Function returns 0. A 0 return value indicates that pa is either empty or not an mxSINGLE_CLASS array.
This function is available in the interleaved complex API. To build myMexFile.F using this function, type:
myMexFile.F
mex -R2018a myMexFile.F
mxSetSingles (Fortran)
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office