MATLAB Web Server    

Returning Results via the Web

The MATLAB Web Server distribution kit contains the file webmagic2.html, which serves as an example of an HTML output document template. The webmagic function uses the htmlrep command to place the computed values into the webmagic2.html output template using the code

In this example s is a MATLAB structure containing the results of the webmagic magic squares computation. htmlrep extracts data from s and replaces variable fields in webmagic2.html with the results of MATLAB computation. The completed webmagic2.html form is transmitted to the user's browser.


  Using matlabserver Function Reference