Complex data elements in mxINT16_CLASS array
mxINT16_CLASS
#include "fintrf.h" mwPointer mxGetComplexInt16s(pa) mwPointer pa
expand all
pa
mwPointer
Pointer to an mxINT16_CLASS array.
dt
0
Pointer to the first mxComplexInt16 element of the data. If pa is 0, then the function returns 0.
mxComplexInt16
If mxArray is not an mxINT16_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 mxINT16_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
mxSetComplexInt16s (Fortran)