| 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.
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
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.
|
webconf script to initialize the matlabserver.conf file. Then edit this file to change options further, particularly those that webconf cannot set on the command line.
Point each of these aliases to <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).
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:
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/".
| Installation | Solaris/Linux Post-Installation Procedures | ![]() |