Learn R Programming

R.matlab (version 3.3.0)

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.

See Also

For more information see Matlab.