- 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 ビュー (過去 30 日間)
古いコメントを表示
why does figure print not work in appdesigner
0 件のコメント
回答 (1 件)
prabhat kumar sharma
2025 年 1 月 31 日 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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!