how to close open pdf file generated by report generator before running code for another subject again.
4 views (last 30 days)
Show older comments
I want to close rptview(report) automatically before running the code again for another subject.
0 Comments
Answers (1)
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
1 Comment
Claudio Piguet
on 13 Dec 2023
Well and if I have already other figures open? How do I inhibit the opening of the PDF at the end of the test report generation?
See Also
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!