| External Interfaces/API Reference | ![]() |
Write full mxArrays into the workspace of an engine
Fortran Syntax
integer*4 function engPutFull(ep, name, m, n, pr, pi) integer*4 ep, m, n, pr, pi character*(*) name
name
mxArray to put into engine's workspace.
m
n
pr
pi
Description
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.
Note
This routine will become obsolete in a future version. Use engPutMatrix, mxSetPr, mxSetPi, mxSetM, and mxSetN instead.
|
| engOutputBuffer | engPutMatrix | ![]() |