Matlab$startServer | R Documentation |
Static method which starts a MATLAB server on the local machine. Note that MATLAB v6 or later is required, since the MATLAB server relies on Java.
## 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=".", ...)
matlab |
An optional |
port |
An optional |
minimize |
When starting MATLAB on Windows, it is always opened
in a new window (see |
options |
A |
workdir |
The working directory to be used by MATLAB. |
... |
Not used. |
This method is currently supported on Windows and Unix systems. Other systems are untested, but might work anyway.
Note that this method will return immediately upon calling
system()
internally, i.e. you will not receive a return value
telling whether 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.
Returns nothing.
Henrik Bengtsson
For more information see Matlab
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.