| MATLAB Application Program Interface Reference | Help Desk |
mexPutMatrix
Writes anmxArray to the caller's workspace
integer*4 function mexPutMatrix(mp) integer*4 mpmp 0 if successful, and 1 if an error occurs.
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.