MATLAB Application Program Interface Reference | Help Desk |
mexPutFull
Routine to create anmxArray
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 n name
Name of mxArray
to put into workspace.
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