save / print figure using appdesigner

4 vues (au cours des 30 derniers jours)
scott nolan
scott nolan le 3 Fév 2019
why does figure print not work in appdesigner

Réponses (1)

prabhat kumar sharma
prabhat kumar sharma le 31 Jan 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!

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by