Convert complex mxArray
to real, preserving real
data
#include "fintrf.h" integer*4 mxMakeArrayReal(pa) mwPointer pa
Use mxMakeArrayReal
to convert a complex
mxArray
to a real mxArray
. The array contains
the data from the real part of the original array. If the original
mxArray
is real, then the function does nothing.