Installation guide

2 Getting Started
2-18
also be used to maintain contexts among the different connections in an
application.You can see this in the code
s.GraphFileName = sprintf('%speaks.jpeg',mlid)
which creates a name for a jpeg file. If mlid has the value ml00277, for
example, the
jpeg file will be named ml00277peaks.jpeg.
The function
htmlrep replaces MATLAB variable names it finds in the
HTML output template file
webpeaks2.html with the values in the input
structure
s.
rs = htmlrep(s,'webpeaks2.html')
$GraphFileName$
, the variable that represents the graphic output, is
found in the line
<img border=0 src="$GraphFileName$">
in webpeaks2.html.
The final output document shows both the input and output frames.