MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Installation Guide Page 43

  • Download
  • Add to my manuals
  • Print
  • Page
    / 86
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 42
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
Page view 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 85 86

Comments to this Manuals

No comments