save / print figure using appdesigner

2 visualizaciones (últimos 30 días)
scott nolan
scott nolan el 3 de Feb. de 2019
Respondida: prabhat kumar sharma el 31 de En. de 2025
why does figure print not work in appdesigner

Respuestas (1)

prabhat kumar sharma
prabhat kumar sharma el 31 de En. de 2025
Hello Scott,
I understand that you're experiencing issues with the `print` function when trying to save a figure. As an alternative, you can use `exportgraphics`.
  • Use the exportgraphics function, which is designed to work with uifigures and offers more flexibility and better compatibility for exporting graphics.
exportgraphics(app.UIAxes, 'filename.png');
I hope it helps!

Categorías

Más información sobre Desktop en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by