Copy variable from MATLAB engine workspace
#include "engine.h" mxArray *engGetVariable(Engine *ep, const char *name);
mwPointer engGetVariable(ep, name) mwPointer ep character*(*) name
mxArray to get from MATLAB® workspace
Pointer to a newly allocated
NULL if the attempt fails.
if the named variable does not exist.
engGetVariable reads the named
the MATLAB engine session associated with
The limit for the size of data transferred is 2 GB.
mxDestroyArray to destroy the
by this routine when you are finished with it.
following examples in