| External Interfaces/API Reference | ![]() |
Writes an mxArray to the caller's workspace
Fortran Syntax
integer*4 function mexPutMatrix(mp) integer*4 mp
Arguments
mp
Pointer to mxArray.
Returns
0 if successful, and 1 if an error occurs.
Description
mexPutMatrix writes mxArray mp to the caller's workspace. If the mxArray does not exist in the workspace, it is created. If an mxArray with the same name already exists in the workspace, the existing mxArray is replaced with the new one.
| mexPutFull | mexSetTrapFlag | ![]() |