MATLAB Web Server Previous page   Next Page

Creating MATLAB Web Server M-Files

M-File Template

You use the M-file template to code your MATLAB application as you normally do. The template provides the additional code you need to accept input from your HTML input document and to return results to your HTML output document. An abbreviated version looks like

webmagic M-File

The data entered on the webmagic1.html input document is automatically passed to MATLAB, which then runs the webmagic function. Notations in boldface refer to steps in the M-file template.


Previous page  Creating Input Documents Creating Output Documents Next page