Complex data elements in mxSINGLE_CLASS
array
#include "matrix.h" mxComplexSingle *mxGetComplexSingles(const mxArray *pa);
This function is available in the interleaved complex API. To build
myMexFile.c
using this function, type:
mex -R2018a myMexFile.c