| MATLAB Application Program Interface | Search  Help Desk |
| mexPutFull | See Also |
Routine to create an mxArray from its component parts into a Fortran workspace
integer*4 function mexPutFull(name, m, n, pr, pi) integer*4 m, n, pr, pi character*(*) namem
mxArray to put into workspace.
pi
mxArrays. mexPutFull provides an easy way to write a full mxArray into a MEX-file's caller's workspace. It is an alternative to mexPutMatrix, which requires use of the mxArray structure.
mexPutFull writes the mxArray with dimensions m-by-n, real data pr, and imaginary data pi into the calling workspace with the specified name. If an mxArray with the same name already exists in the workspace, the existing mxArray is replaced with the new one.
mxSetName