Main Content
engGetVariable (Fortran)
Copy variable from MATLAB engine workspace
Fortran Syntax
#include "engine.h" mwPointer engGetVariable(ep, name) mwPointer ep character*(*) name
Description
engGetVariable
reads the named mxArray
from the
MATLAB® engine session associated with ep
. Returns
0
if successful and 1
if an error occurs.
The limit for the size of data transferred is 2 GB.
Use mxDestroyArray
to destroy the mxArray
created
by this routine when you are finished with it.
Input Arguments
Output Arguments
Version History
Introduced before R2006a