| MATLAB Web Server | ![]() |
General Post-Installation Procedures
After installing MATLAB and the MATLAB Web Server, you must perform a number of steps that regulate communication between MATLAB and your Web browser. Check the Release Notes for any last minute information concerning installation of this release.
matweb.conf file in the <matlab>/toolbox/webserver/wsdemos directory. The Readme file shows the format for matweb.conf. Replace the notation <matlab> with the name of the root directory where you installed MATLAB. Use the matlabroot command to determine this directory. Also, replace matlabserver_host_name with the TCP/IP hostname for your machine.
matlabserver.conf in the <matlab>/webserver directory. The file contains the notation
-m 1
This number represents the number of MATLABs that can run
concurrently. After testing that everything is working properly, you can
change this number to something more convenient. On Windows NT edit
matlabserver.conf directly with a text editor.
Note:
To see any changes made to matlabserver.conf, you need to stop and
restart the MATLAB Web Server. See the section "Understanding
matlabserver for more information on matlabserver.conf.
|
On Solaris/Linux use the webconf script to initialzie the matlabserver.conf
file. Then edit this file to change options further, particularly those that
webconf cannot set on the command line.
httpd) to create the needed aliases:
<matlab>/toolbox/webserver/wsdemos to get the demonstration programs to work.
If your application creates graphic (jpeg) files, you need to provide a location where MATLAB can write these for httpd access, e.g, /icons. The mldir entry associated with each application in the matweb.conf file indicates the location to MATLAB.
If you do not have permission to set up or change these aliases, you must place copies of some files in locations where the httpd can find them.
matweb (matweb.exe on Windows NT), found in <matlab>/webserver/bin/arch, to the directory aliased by /cgi-bin or equivalent. The supported architectures are Windows NT (win32), Solaris (sol2), and Linux (glnx86).
matweb.conf in <matlab>/toolbox/webserver/wsdemos to the directory aliased by /cgi-bin or equivalent.
<matlab>/toolbox/webserver/wsdemos to the directory where the httpd keeps all HTML files (often referred to as the home or default alias).
| Installation | Solaris/Linux Post-Installation Procedures | ![]() |