| MATLAB Application Program Interface | Search  Help Desk |
| mexGetMatrix |
Copies an mxArray from the caller's workspace
integer*4 function mexGetMatrix(name) character*(*) nameA pointer to a newly allocated
mxArray if successful, 0 otherwise.
name
mxArray to get from workspace.
mexGetMatrix reads the named mxArray from the caller's workspace, and returns a pointer to a newly allocated mxArray or 0 if the attempt fails.