ispdf

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

Check if PDF report

Syntax

typematch = ispdf(report)

Description

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 mlreportgen.report.Report.

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