Gets one or several MATLAB variables from the MATLAB server.
The transfer of the data can be done locally via a temporary file
(remote = FALSE
) or through the socket connection
(remote = TRUE
),
which is always available.
# S3 method for Matlab
getVariable(this, variables, remote=this$remote, ...)
Returns a list
structure containing the MATLAB variables as named
values.
String vector of MATLAB containing names of variable that are to be retrieved from the MATLAB server.
If TRUE
the variables are transferred on the
socket connection
, otherwise they are transferred via a temporary file.
Not used.
Henrik Bengtsson
For more information see Matlab
.