This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.



Check if Word report


typematch = isdocx(report)


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

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.

Introduced in R2017b