Learn R Programming

R.matlab (version 1.1.3)

setOption.Matlab: Sets the value of an option

Description

Sets the value of an option where the option is specified like a file pathname, e.g. "readResult/maxTries". See the Options class for details.

Usage

## S3 method for class 'Matlab}(this, ...)':
setOptionundefined

...{Arguments passed to
   setOption()
   of the Options class.}

Returns the previous value of the option.

Available options
{
  • readResult/maxTries
{The maximum number of times the connection is check for an answer from the Matlab server before giving up. Default values is 30 times.} readResult/interval{The interval in seconds between each poll for an answer. Default interval is 1 (second).} } With default values of the above options, the RMatlab client waits 30 seconds for a reply from the Matlab server before giving up.

Arguments

See Also

*getOption(). For more information see Matlab.