| MATLAB Web Server | ![]() |
Templates
Four templates found in the directory<matlab>/toolbox/webserver/wsdemos simplify the process of creating a MATLAB Web Server application:
Each template provides actual code that you need to incorporate into your application plus instructions on how to modify the template where necessary. If you follow the directions in these templates, you should be able to create MATLAB Web Server applications with reasonable effort.
Additionally provided in <matlab>/toolbox/webserver/wsdemos is webmagic, a magic squares demonstration program. A magic square produces the same sum along any row, column, or either of the two main matrix diagonals. There are four files associated with webmagic:
webmagic1.html: the webmagic input document
webmagic2.html: the webmagic output document
webmagic.m: the webmagic MATLAB M-file
twebmagic.m: the webmagic stand-alone test file
To learn how the four templates were modified to create the webmagic application, we will examine templates and note the specific changes applied.
If you want to look at some other applications created with these templates, see the section Additional Application Examples.
| Creating an Application | Creating Input Documents | ![]() |