Main Content

mlreportgen.utils.HTMXDoc class

Package: mlreportgen.utils

Wrap HTMX document file for viewing

Description

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

Creation

Description

example

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

Input Arguments

expand all

Path to HTMX file, specified as a string or character vector.

Properties

expand all

Full path to HTMX file, specified as a string or character vector.

Methods

expand all

Examples

collapse all

This example wraps the existing MyHTMXDoc.html file into an HTMXDoc object.

docobj = mlreportgen.utils.HTMXDoc("MyHTMXDoc.htmx");
show(docobj);

Version History

Introduced in R2018b