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

open.Matlab

Tries to open a connection to the MATLAB server


Description

Tries to open a socket connection to the MATLAB server. If the connection could not be opened it the first time it will try to open it every interval second up to trials times.

Usage

## S3 method for class 'Matlab'
open(con, trials=30, interval=1, timeout=getOption("timeout"), ...)

Arguments

trials

The number of trials before giving up.

interval

The interval in seconds between trials.

timeout

The timeout for the socket connection

...

Not used.

Value

Returns TRUE if a socket connection to the MATLAB server was successfully opened, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

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.