| MATLAB Application Program Interface | Search  Help Desk |
| mexGetGlobal | See Also |
Get a pointer to an mxArray from MATLAB's global workspace
Fortran Syntax
integer*4 function mexGetGlobal(name) character*(*) name
Arguments
namemxArray to get from workspace.
Returns
Pointer to globalmxArray if successful, or 0 if it doesn't exist.
Description
mexGetGlobal gets an mxArray from MATLAB's global workspace instead of from the caller's workspace.
See Also
mxGetName, mxGetPr, mxGetPi