mxMakeArrayComplex (Fortran)
Convert real mxArray to complex, preserving real
data
Fortran Syntax
#include "fintrf.h" integer*4 mxMakeArrayComplex(pa) mwPointer pa
Description
Use mxMakeArrayComplex to convert a real
mxArray to a complex mxArray. The real part of
the updated array contains the real data from the original array.
If pa is empty, then the function returns a complex empty
mxArray.
If pa is complex, then the function does nothing.
Input Arguments
Output Arguments
Version History
Introduced in R2018b