represent the Matlab root directory, the directory where Matlab is installed on the system.
3.2.1Matweb.conf
The file matweb.conf is the Matlab Web Server configuration file. It is by default located in the /toolbox/webserver/wsdemos directory. Open the file in a text editor and replace the notation with the name of the root directory where Matlab is installed.
If an application creates graphic files, there must be provided for a location where Matlab can write these for Apache server access, e.g /icons (see Apache Setup). Applications are delineated by the main application entry point name (M-file) in square brackets []. The mldir entry associated with each application in the matweb.conf file indicates the location to Matlab.
[testfile]
Mldir= /toolbox/webserver/wsdemos
Also, replace matlabserver_host_name with the TCP/IP hostname of the machine. If the Matlab Web Server is installed locally the hostname should be localhost (or 127.0.0.1).
Mlserver=localhost