User`s guide
12 Classes – Alphabetical List
12-128
mlreportgen.dom.FormalTable class
Package: mlreportgen.dom
Formal table
Description
Defines a formal table, which is a table that has a body and optionally a
table header or table footer, or both. The table header, body, and footer are
mlreportgen.dom.TableHeader, mlreportgen.dom.TableBody, and
mlreportgen.dom.TableFooter objects, respectively.
Construction
formalTableObj = FormalTable() creates an empty formal table. Use this
constructor as the starting point to create a formal table from scratch.
formalTableObj = FormalTable(ncols) creates an empty formal table having the
specified number of columns.
formalTableObj = FormalTable(body) creates a formal table whose body content
you specify as a two-dimensional array. The constructor converts basic MATLAB
types to corresponding DOM objects. For example, the constructor converts strings to
mlreportgen.dom.Text objects.
formalTableObj = FormalTable(body,styleName) creates a formal table having
the specified body content and style.
formalTableObj = FormalTable(header,body) creates a formal table with a
header and a body using the specified contents, and an empty footer.
formalTableObj = FormalTable(header,body,styleName) creates a formal table
using the specified content and style. The table has an empty footer.
formalTableObj = FormalTable(header,body,footer) creates a formal table
with the specified content for the body, header, and footer.