open.Matlab: Tries to open a connection to the MATLAB server

open.MatlabR Documentation

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 documentation built on Aug. 26, 2022, 1:07 a.m.