| External Interfaces/API Reference | ![]() |
Copies an mxArray from the caller's workspace
Fortran Syntax
integer*4 function mexGetMatrix(name) character*(*) name
Arguments
name
Name of mxArray to get from workspace.
Returns
A pointer to a newly allocated mxArray if successful. Otherwise, returns 0.
Description
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.
| mexGetInf | mexGetMatrixPtr | ![]() |