Main Content

mlreportgen.utils.HTMXDoc Class

Namespace: mlreportgen.utils

Wrap HTMX document file for viewing

Description

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

Creation

Description

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.

example

Input Arguments

expand all

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

Properties

expand all

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

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