MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de instalación Página 55: Changing Initial Data

Understanding matlabserver
3-7

Changing Initial Data

Edit
matlabserver.conf
on Windows NT. On Solaris/Linux run the
webconf
script to initialize the
matlabserver.conf
file. Edit this file if you want to
change options further, particularly those that
webconf
cannot set on the
command line. To see any changes you have made to
matlabserver.conf
, you
need to stop and restart the MATLAB Web Server
.
Type
matlabserver -h
on Windows NT (
webconf -h
on Solaris/Linux) for a list
of additional editable
matlabserver.conf
options.
If
matlabserver
cannot locate a
matlabserver.conf file
, it uses the defaults.

Using matlabserver

When we viewed the source of the
webmagic1.html
file, we observed the line of
HTML code
<FORM ACTION="/cgi–bin/matweb.exe" METHOD="POST">
and we noted that this line establishes communication with MATLAB.
matweb
is a program that resides on the HTTP server and communicates with
matlabserver
.
matweb
requires information found in
matweb.conf
to locate
matlabserver
(which could be running on a different machine).

matweb Program

matweb
is a client of
matlabserver
that uses Common Gateway Interface (CGI)
to get data from HTML forms. It transfers the information to
matlabserver
,
which then runs applications written in M-files to produce responses.
Table 3-1: matlabserver Basic Options
Option
Meaning
-p [n]
Port
matlabserver
listens on. Default is
8888
.
-m [n]
MATLABs to run. Default is
1
.
-o
timeout
Number of seconds to wait for
matlabserver
to
start (range from
1
to
32000
). Default is
300
.
-a
path
Path prepended to the MATLAB path at startup
No default.

Archivo PDF · ·

Imprimir

Imprimir documento

Compartiendo

Preguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

Todavía no hay preguntas sobre este manual. Haga la primera.

Hacer una pregunta

Respondemos con el manual e indicamos la página. La pregunta se publica en el sitio después de revisarla.

Todas las preguntas y respuestas ›

Productos y manuales relacionados para Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE