Learn R Programming

R.matlab (version 3.7.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 Matlab
open(con, trials=30, interval=1, timeout=getOption("timeout"), ...)

Value

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

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.

Author

Henrik Bengtsson

See Also

For more information see Matlab.