setVariable.Matlab {R.matlab}R Documentation

Sets one or several Matlab variables

Description

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.

Usage

## S3 method for class 'Matlab':
setVariable(this, ..., remote=this$remote)

Arguments

... Named R variables to be set in Matlab.
remote If TRUE the variables are transferred on the socket connection, otherwise they are transferred via a temporary file.

Value

Returns nothing. If the Matlab server did not received the variables successfully an exception is thrown.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see Matlab.


[Package R.matlab version 1.2.6 Index]