MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guia de Instalação Página 56: Changing Initial Data

3

Inside the MATLAB Web Server

3-8
When the MATLAB Web Server is installed,
matweb
is placed in
<matlab>/webserver/bin/
arch
for all architectures. This placement allows
you to run
matweb
on a machine having the HTTPD but not having MATLAB
installed and being of a different architecture from the server.
For HTTP server access you must also place a copy of
matweb
in the directory
denoted by the
/cgi-bin
alias. The installation process places a copy in
<matlab>/toolbox/webserver/wsdemos
to run the sample applications.

matweb.conf

To connect with
matlabserver
,
matweb
requires information stored in the
configuration file
matweb.conf
. Create this file inside the directory denoted by
/cgi-bin
, along with the
matweb
program. Use the copy in
<matlab>/toolbox/webserver/wsdemos
as a guide.
An instance of
matweb.conf
looks like
[webmagic]
mlserver=parrot
[webpeaks]
mlserver=parrot
mldir=/matlab/toolbox/websever/wsdemos
Multiple application configurations must appear in the same file. Each
variable appears on a separate line followed by an equal sign
=
, which is then
followed by a value, e.g.,
mlserver=parrot
. Applications are delineated by the
main application entry point name (M-file) in square brackets
[]
. For example,
[webpeaks]
is on one line followed by all its variables and corresponding
values. Note that
webmagic
does not require an
mldir
entry because it does not
generate any graphics or save any files. Use the
%
or
#
character at the
beginning of any line to comment it out.

Ficheiro PDF · ·

Imprimir

Imprimir documento

Partilha

Perguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

Ainda não há perguntas sobre este manual. Faça a primeira.

Fazer uma pergunta

Respondemos a partir do manual e indicamos a página. A pergunta é publicada no site depois de verificada.

Todas as perguntas e respostas ›

Manuais e produtos relacionados com Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE