Main Content

mxGetComplexInt32s (Fortran)

Complex data elements in mxINT32_CLASS array

Fortran Syntax

#include "fintrf.h"
mwPointer mxGetComplexInt32s(pa)
mwPointer pa

Input Arguments

expand all

Pointer to an mxINT32_CLASS array.

Output Arguments

expand all

Pointer to the first mxComplexInt32 element of the data. If pa is 0, then the function returns 0.

If mxArray is not an mxINT32_CLASS array:

  • 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 mxINT32_CLASS array.

API Version

This function is available in the interleaved complex API. To build myMexFile.F using this function, type:

mex -R2018a myMexFile.F

Version History

Introduced in R2018b