Export images and PDF in App Designer

17 vues (au cours des 30 derniers jours)
Iacopo
Iacopo le 2 Sep 2022
Dear all,
I am using the function exportgraphics to export .png images in App Designer. I didn't find the other options available in MATLAB working in App Designer.
It looks like the exported figures have a low resolution, is there any chance to enhance it? and to change the figures' size?
Last question, I need to export the figures in PDF format as well to create an automated report for data analysis. I used the exportgraphic function to export a series of figures in a PDF file, but what if I want to put text between them? Is there a way to do it?
Thanks in advance for your help!

Réponses (1)

Kevin Holly
Kevin Holly le 2 Sep 2022
If you have the image displayed on an axes, you can do the following:
h=getframe(app.UIAxes)
h.cdata
If you want to make a report, I recommend looking into Report Generator. You can genrate a PDF report with text and images.
PS: I'm looking into your other question now.

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by