- Use the exportgraphics function, which is designed to work with uifigures and offers more flexibility and better compatibility for exporting graphics.
save / print figure using appdesigner
3 views (last 30 days)
Show older comments
why does figure print not work in appdesigner
0 Comments
Answers (1)
prabhat kumar sharma
on 31 Jan 2025 at 5:34
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`.
exportgraphics(app.UIAxes, 'filename.png');
I hope it helps!
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!