|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.
Throughout this document the notation |
Note in particular:
matweb.conffile in the
Readmefile shows the format for
matweb.conf. Replace the notation
<matlab>with the name of the root directory where you installed MATLAB. Use the
matlabrootcommand to determine this directory. Also, replace
matlabserver_host_namewith the TCP/IP hostname for your machine.
<matlab>/webserverdirectory. The file contains the notation
matlabserver.confdirectly with a text editor.
To see any changes made to |
webconfscript to initialize the
matlabserver.conffile. Then edit this file to change options further, particularly those that
webconfcannot set on the command line.
httpd) to create the needed aliases:
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,
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.exeon Windows NT), found in
arch, to the directory aliased by
/cgi-binor equivalent. The supported architectures are Windows NT (
win32), Solaris (
sol2), and Linux (
<matlab>/toolbox/webserver/wsdemosto the directory aliased by
<matlab>/toolbox/webserver/wsdemosto the directory where the
httpdkeeps 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|