How to 'append' contents to an existing file using Report or DOM API?

2 views (last 30 days)
Hi, I'm trying to use the Report API to output figures and tables in my app, and it works fine until I realized that --
I have batches of raw data to process, and have to output the results multiple times during one use.
Now the function can generate seperate reports, which need to be merged into one.
So I'm wondering if there is a way to append stuff into the existing docx/pdf, something like the permission in fopen, instead of rewriting the file?

Accepted Answer

Inso
Inso on 10 Dec 2019
Use 'if...end' to create the report only once while adding stuff multiple times. And create another button to close and rptview the report.

More Answers (0)

Categories

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

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!