Main Content

ishtmlfile

Class: mlreportgen.report.Report
Namespace: mlreportgen.report

Check if single-file HTML report

Syntax

typematch = ishtmlfile(report)

Description

typematch = ishtmlfile(report) checks whether the report is a single-file HTML report, which has an html extension.

Input Arguments

expand all

Report, specified as a report object. To create the report input, use mlreportgen.report.Report.

Output Arguments

expand all

Whether report is a single-file HTML report, returned as 1 or 0. If typematch is 1, the report is a single-file HTML report. Otherwise, typematch is 0.

Version History

Introduced in R2017b