Installation guide

1 MATLAB on the Web
1-8
Copy matweb.conf in <matlab>/toolbox/webserver/wsdemos to the
directory aliased by
/cgi-bin or equivalent.
Copy all demo HTML files in
<matlab>/toolbox/webserver/wsdemos to the
directory where the
httpd keeps all HTML files (often referred to as the
home or default alias).
Note that when aliases are different from those provided in the demo HTML
files, you will have to make the corresponding changes in those HTML files. For
example, if you use the Apache Web Server (
http://www.apache.org), the
aliases listed above are called:
a DocumentRoot
b ScriptAlias /cgi-bin/
c Alias /icons/
You edit these in the conf/http.conf file in the main Apache directory. Note
that any alias with a trailing
'/', such as '/icons/', must have a trailing
slash in its value, e.g.,
Alias /icons/ "/local/matlab/toolbox/webserver/wsdemos/".
Solaris/Linux Post-Installation Procedures
The MATLAB Web Server installation procedure places five scripts into the
<matlab>/webserver directory:
webconf: Builds matlabserver configuration file (matlabserver.conf). See
Chapter 3, “Inside the MATLAB Web Server”, for a discussion of
matlabserver and the matlabserver.conf file. Use this script to specify the
number of simultaneous MATLABs to run, the nondefault TCP/IP port, and
other variables.
webstart: Stops and restarts matlabserver via calls to webdown and
webboot. These three scripts must all reside in the same directory.
webdown: Stops running matlabserver.
webboot: Starts matlabserver.
webstat: Displays matlabserver status information.
Enter the command
script_name -h