Sets one or several R variables on 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
setVariable(this, ..., remote=this$remote)Returns nothing. If the MATLAB server did not received the variables successfully an exception is thrown.
Named R variables to be set in MATLAB.
If TRUE the variables are transferred on the
socket connection, otherwise they are transferred via a temporary file.
Henrik Bengtsson
For more information see Matlab.