Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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'
setOption(this, ...)

Arguments

...

Arguments passed to setOption() of the Options class.

Value

Returns the previous value of the option.

Available options

  • readResult/maxTriesThe maximum number of times the connection is check for an answer from the MATLAB server before giving up. Default values is 30 times.

  • readResult/intervalThe interval in seconds between each poll for an answer. Default interval is 1 (second).

With default values of the above options, the R MATLAB client waits 30 seconds for a reply from the MATLAB server before giving up.

Author(s)

Henrik Bengtsson

See Also

*getOption(). For more information see Matlab.


R.matlab

Read and Write MAT Files and Call MATLAB from Within R

v3.6.2
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph], Andy Jacobson [ctb] (Internal MAT v4 reader), Jason Riedy [ctb] (Support for reading compressed files, sparse matrices and UTF-encoded strings.)
Initial release
2018-09-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.