Determine whether array was copied from MATLAB global workspace
#include "matrix.h" bool mxIsFromGlobalWS(const mxArray *pm);
#include "fintrf.h" integer*4 mxIsFromGlobalWS(pm) mwPointer pm
pm
Pointer to an mxArray
Logical 1
(true
) if the array was copied
out of the global workspace, and logical 0
(false
) otherwise.
mxIsFromGlobalWS
is useful for standalone MAT-file
programs.