Export images and PDF in App Designer

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!

Antworten (1)

Kevin Holly
Kevin Holly am 2 Sep. 2022

0 Stimmen

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.

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Gefragt:

am 2 Sep. 2022

Beantwortet:

am 2 Sep. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by