how to close open pdf file generated by report generator before running code for another subject again.

4 views (last 30 days)
I want to close rptview(report) automatically before running the code again for another subject.

Answers (1)

Rahul Singhal
Rahul Singhal on 21 Jun 2019
Hi Sonia,
Starting R2018b, you can use close or closeAll methods of mlreportgen.utils.rptviewer class to close the open PDF report.
Thanks,
Rahul

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!