2 Getting Started
2-10
Creating Output Documents
Output Template
The file output_template.html provides the code needed to create a
MATLAB Web Server output document. An abbreviated version looks
like
<!--
Modify this file to create your own HTML output document
and save it as <MY_OUTPUT>.html, where <MY_OUTPUT> is
replaced
by a name that has meaning within the context of your
application.
-->
<!-- STEP 1
Display a MATLAB scalar or character string. Replace
<MY_OUTPUT_VARIABLE_1> in the following line with the name
of the MATLAB variable you want to display. Change the other
text to something meaningful within the context of your
application.
-->
My output variable 1 has been computed to be
$<my_output_variable_1>$
<!-- STEP 2
Put all your other HTML tags here.
-->
webmagic Output
The webmagic output document contains three variables.
$msquare$ -- the completed magic square
$msize$ -- the size of the magic square
$msum$ -- the magic square sum along its rows, columns, or diagonals
Using
htmlrep the webmagic function replaces these variables with
actual values, using the input obtained from
webmagic1.html.
Comments to this Manuals