open.Matlab {R.matlab}R 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, ...)

Arguments

trials The number of trials before giving up.
interval The interval in seconds between trials.
... Not used.

Value

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

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see Matlab.


[Package R.matlab version 1.2.6 Index]