Main Content

isdocx

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

Check if Word report

Syntax

typematch = isdocx(report)

Description

typematch = isdocx(report) checks whether the report is a Microsoft® Word report, which has a docx 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 Microsoft Word report, returned as 1 or 0. If typematch is 1, the report is a Word report. Otherwise, typematch is 0.

Version History

Introduced in R2017b