Installation guide

Understanding matlabserver
3-9
All the fields that can be contained in matweb.conf are described in Table 3-2.
After you create a new MATLAB Web Server application and enter its
configuration data into
matweb.conf, you need to restart matlabserver before
you can use the application.
Table 3-2: matweb.conf Fields
Variable Description Sample Value
[application]
(required)
Name of the MATLAB
application to run
webmagic
mldir
(optional)
Working directory for reading or
writing files. If specified, this
directory is automatically added
to the MATLAB path.
<matlab>/toolbox/webserver/wsdemos
mllog
(optional)
Produces an application-specific
log file that records all exchanges
between the application and
MATLAB. Turn off logging when
the program is running because
logging has a negative impact on
performance.
<matlab>/toolbox/webserver/
wsdemos/webmagic.log
mlserver
(required)
Name of host running
matlabserver
parrot
mlport
(optional)
Port that
matlabserver listens
on. This value must correspond to
the port number set in the
matlabserver.conf file or on the
command line (the
p argument).
8888 (default)
mltimeout
(optional)
Seconds to wait for matlabserver
before timing out
180 (default)
my_var
User-created configuration
variable
value