Installation guide

htmlrep
4-4
Note The extendmemory attribute is designed only for use with htmlrep
independently of the MATLAB Web Server. Using it with the MATLAB Web
Server will cause unpredictable results with output larger than 256 KB.
HTML tables and select lists can be generated dynamically from matrices or
cell arrays containing strings and scalars:
1 Tables can be generated using the special MATLAB AUTOGENERATE HTML
table attribute with the matrix or cell array name as the value. For example,
the following code automatically generates all the HTML needed to display
the entire matrix,
msquare, in an HTML table.
<TABLE BORDER="1" CELLSPACING="1" AUTOGENERATE="$msquare$">
<TR>
<TD ALIGN="RIGHT">
</TD>
</TR>
</TABLE>
At least one of each of the tags listed above is required.
htmlrep uses the HTML code from the <TABLE> tag to the </TABLE> tag as a
template for generating the entire table. If different column attributes are
required, additional pairs of cell tags (
<TD> and </TD>) can be included up to
the number of columns in the matrix or cell array. For example, adding these
tags
<TD ALIGN="CENTER">
</TD>
after the </TD> tag above causes the second column to be center-justified.
If there are more columns in the matrix or cell array than
<TD> </TD> pairs, the
last pair is used for all subsequent columns.
2 SELECT lists are generated using the special MATLAB AUTOGENERATE HTML
SELECT attribute with the vector, matrix or cell array name as the value.
For example, the following code automatically generates all the HTML
needed to display the entire vector,
mylist, in an HTML SELECT list. (SELECT
lists must appear inside HTML
<FORM> and </FORM> tags.)