| MATLAB Application Program Interface Reference | Help Desk |
engPutFull
Write fullmxArrays into the workspace of an engine
integer*4 function engPutFull(ep, name, m, n, pr, pi) integer*4 ep, m, n, pr, pi character*(*) name
ep
name
Name of mxArray to put into engine's workspace.
m
n
pr
pi
Most MATLAB applications work only with full (nonsparse) mxArrays. This routine provides an easy way to write a full mxArray into a MATLAB engine process. It offers an alternative to engPutMatrix, which does not require use of the mxArray structure.
engPutFull writes the mxArray with dimensions m-by-n, real data pr, and imaginary data pi into the workspace of engine ep with the specified name.
If the mxArray does not exist in the engine's workspace, it is created. If an mxArray with the same name already exists in the workspace, the existing mxArray is replaced with the new mxArray.
See fengdemo.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to call the MATLAB engine functions from a Fortran program.
Note: Fortran engine routines are not available on Windows.