## Static method (use this):
## Matlab$startServer(matlab=getOption("matlab"), port=9999, minimize=TRUE,
## options=c("nodesktop", "nodisplay", "nosplash"), workdir=".", ...)## Don't use the below:
## S3 method for class 'Matlab':
startServer(this, matlab=getOption("matlab"), port=9999, minimize=TRUE,
options=c("nodesktop", "nodisplay", "nosplash"), workdir=".", ...)
character
string specifying the name of
the matlab command, if different from "matlab"
. An absolute
path are possible.integer
in [1023,65535].
If given, the environment variable MATLABSERVER_PORT
is
set specifying which port the MATLAB server should listen to for
clients trying to conn1. The MATLAB server running in MATLAB
).
If this argument is
Note that this method will return immediately upon calling
system()
internally, i.e. you will not receive a return value
telling wether MATLAB was successfully started or not.
To specify the full path to the matlab software set the matlab
option, e.g. options(matlab="/opt/bin/matlab6.1")
. If no such
option exists, the value "matlab"
will be used.
The MATLAB server relies on two files: 1) MatlabServer.m and 2) InputStreamByteWrapper.class These files exists in the externals/ and java/ directories of this package. However, if they do not exist in the current directory, which is the directory where MATLAB is started, copies of them will automatically be made.
Matlab
.