MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guia de Instalação Página 43: Data Display

Additional Application Examples
2-15

Additional Application Examples

The easiest way to learn how to create MATLAB applications that send
and receive data over the Web is to analyze the sample programs
included with your MATLAB Web Server distribution. To access these
sample programs, open the file
<matlab>/toolbox/webserver/wsdemos/
index.html
in your browser. By analyzing the code used to create these
examples, you can expand upon them to create more complex MATLAB
Web Server applications.

Data Display

The
players
demonstration function illustrates a basic use of the
MATLAB Web Server to display data over the Web. The file
players.txt
contains a data base with information about The MathWorks softball
team.
players
uses a few MATLAB commands to read the tab-delimited file,
convert the data to an HTML file, and display the output in a Web
browser. No input form is needed for this application, only a URL. The
URL can be entered directly in your browser or as a live link in another
page.
PLAYER
POSITION
AVERAGE
AT BATS
Ron Berg
First Base
.337
30
John Theytaz
Second Base
.294
22
Charles Carmody
Third Base
.261
34
Debby Oldman
Shortstop
.287
29
Jack Pirrotta
Right Field
.256
27
Josh Tillson
Center Field
.301
31
Eugene Goldbrick
Left Field
.281
31
Donna Navillus
Pitcher
.222
32
Anna Alman
Catcher
.290
30

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