Export images and PDF in App Designer

19 visualizaciones (últimos 30 días)
Iacopo
Iacopo el 2 de Sept. de 2022
Respondida: Kevin Holly el 2 de Sept. de 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!

Respuestas (1)

Kevin Holly
Kevin Holly el 2 de Sept. de 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.

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by