mlreportgen.utils.HTMLDoc Class

Namespace: mlreportgen.utils

Wrap HTML file for viewing

Description

This utility wraps a .html file into an object. You can then manipulate the object using the methods of this utility.

The mlreportgen.utils.HTMLDoc class is a handle class.

Creation

Description

docobj = mlreportgen.utils.HTMLDoc(filename) wraps an HTML document file and returns it as an HTMLDoc object. The constructed HTML doc object is not visible. To make it visible, use the show method.

example

Input Arguments

expand all

Path to an HTML file, specified as a character vector or string scalar.

Methods

expand all

Examples

collapse all

This example wraps the existing MyHTMLDoc.html file into an HTMLDoc object.

docobj = mlreportgen.utils.HTMLDoc("MyHTMLDoc.html");
show(docobj);

Version History

Introduced in R2018b