Export images and PDF in App Designer

19 次查看(过去 30 天)
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!

回答(1 个)

Kevin Holly
Kevin Holly 2022-9-2
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.

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by