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

3 vues (au cours des 30 derniers jours)
Inso
Inso le 9 Déc 2019
Réponse apportée : Inso le 10 Déc 2019
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?

Réponse acceptée

Inso
Inso le 10 Déc 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.

Plus de réponses (0)

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by