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 PDF report


typematch = ispdf(report)


typematch = ispdf(report) checks whether the report is a PDF report, which has a pdf 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 PDF report, returned as 1 or 0. If typematch is 1, the report is a PDF report. Otherwise, typematch is 0.

Introduced in R2017b