Matrix in Automation server workspace
PutFullMatrix([in] BSTR varname, [in] BSTR workspace,
[in] SAFEARRAY(double) xreal, [in] SAFEARRAY(double) ximag)
PutFullMatrix([in] varname As String, [in] workspace As String,
[in] xreal As Double, [in] ximag As Double)
PutFullMatrix(h,'varname','
workspace
',xreal,ximag)
PutFullMatrix(h,'varname','
stores
a matrix in the specified workspace
',xreal,ximag)workspace
of
the server attached to handle h
and assigns it
to variable varname
. Use xreal
and ximag
for
the real and imaginary parts of the matrix. The
values for workspace
are base
or global
.
The matrix cannot be a scalar, an empty array, or have more than two dimensions. To use higher dimensional matrices, reshape the matrix to a 2-D matrix before sending it to the MATLAB® server. Then change the dimensions back after receiving it from MATLAB.
For VBScript clients, use the GetWorkspaceData
and PutWorkspaceData
functions
to pass numeric data to and from the MATLAB workspace. These
functions use the variant
data type instead of safearray
,
which VBScript does not support.