| External Interfaces Reference | ![]() |
Copy variable from MATLAB engine workspace
Fortran Syntax
Arguments
name
Name of mxArray to get from MATLAB.
Description
engGetVariable reads the named mxArray from the MATLAB engine session associated with ep and returns a pointer to a newly allocated mxArray structure, or 0 if the attempt fails. engGetVariable fails if the named variable does not exist.
Be careful in your code to free the mxArray created by this routine when you are finished with it.
See Also
| engGetMatrix (Obsolete) | engOpen | ![]() |
© 1994-2005 The MathWorks, Inc.