Main Content

isdocx

Class:mlreportgen.report.Report
Package:mlreportgen.report

Check if Word report

Syntax

typematch = isdocx(report)

Description

typematch= isdocx(report)checks whether the report is aMicrosoft®report, which has adocxextension.

Input Arguments

expand all

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

Output Arguments

expand all

Whether report is aMicrosoft Wordreport, returned as1or0. Iftypematchis1, the report is a Word report. Otherwise,typematchis0.

Version History

Introduced in R2017b