Main Content

ishtmlfile

Class:mlreportgen.report.Report
Package: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 anhtmlextension.

Input Arguments

expand all

Report, specified as a report object. To create thereportinput, usemlreportgen.report.Report.

Output Arguments

expand all

Whether report is a single-file HTML report, returned as1or0. Iftypematchis1, the report is a single-file HTML report. Otherwise,typematchis0.

Version History

Introduced in R2017b