User`s guide
12 Classes – Alphabetical List
12-168
Style — Formatting to apply to HTMLFile object
cell array of format objects
Formatting to apply to the HTMLFile object, specified as a cell array of DOM format
objects. The children of this HTMLFile object inherit any of these formats that they do
not override.
StyleName — Style name of HTMLFile object
string
Style name of this HTMLFile object, specified as a string. Use a name of a style specified
in the stylesheet of the document to which this HTMLFile object is appended. The
specified style defines the appearance of the HTMLFile object in the output document
where not overridden by the formats specified by this StyleName property of the
HTMLFile object.
Tag — Tag for HTMLFile object
string
Tag for HTMLFile object, specified as a string.
A session-unique ID is generated as part of HTMLFile object creation. The generated tag
has the form CLASS:ID, where CLASS is the class of the element and ID is the value of
the Id property of the object. You can specify a tag to replace the generated tag.
Specify your own tag value, for example, to make it easier to identify where an issue
occurred during document generation.
Methods
Examples
Convert Simulink HTML File to Word Report
This example assumes that there are HTML files called myHTMLfile1.html and
myHTMLfile2.htmlin the MATLAB current folder.
Create a Microsoft Word report.
import mlreportgen.dom.*;