MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de instalación Página 62: 4htmlrep

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.)

Archivo PDF · ·

Imprimir

Imprimir documento

Compartiendo

Preguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

Todavía no hay preguntas sobre este manual. Haga la primera.

Hacer una pregunta

Respondemos con el manual e indicamos la página. La pregunta se publica en el sitio después de revisarla.

Todas las preguntas y respuestas ›

Productos y manuales relacionados para Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE