MATLAB Web Server | ![]() ![]() |
matlabserver.conf
When matlabserver
starts up, it looks in the file matlabserver.conf
for its initial setting data. On Windows NT the installation procedure creates this file in the <matlab>/webserver
directory while installing the MATLAB Web Server. On other systems you must first run the webconf
script to establish values for some of the arguments in the file before starting the MATLAB Web Server.
Configuration settings must appear on the first line of the matlabserver.conf
file. Basic options that can go on the first line include:
matlabserver
listens on)
matlabserver
to start)
You can also specify additional settings related to troubleshooting. See Troubleshooting Web Server for details.
Additional lines appear in the Solaris/Linux matlabserver.conf
file, starting on line 2, to specify various shell variables that fully specify the environment. Note that the values for the variables can contain references to other shell variables using the normal shell $
notation.
Changing Initial Data
Edit matlabserver.conf
on Windows NT. On Solaris/Linux run the webconf
script to initialize the matlabserver.conf
file. Edit this file if you want to change options further, particularly those that webconf
cannot set on the command line. To see any changes you have made to matlabserver.conf
, you need to stop and restart the MATLAB Web Server.
Type matlabserver -h
on Windows NT (webconf -h
on Solaris/Linux) for a list of additional editable matlabserver.conf
options.
If matlabserver
cannot locate a matlabserver.conf file
, it uses the defaults.
![]() | Understanding matlabserver | Using matlabserver | ![]() |