フィルターのクリア

Saving a specific TAB from a UITAB group to png with App Designer

20 ビュー (過去 30 日間)
Jason
Jason 2020 年 1 月 18 日
回答済み: Janik Ruge 2021 年 2 月 4 日
Hello, I want to copy all contents on a specific tab (ResultTab) UITAB Group in Appdesigner.
I have tried:
f=app.ResultTab
img = getframe(f);
But this requires an ax or fig as a handle. Not sur ehow to get the tab into this or if there is an alternative way.
Thanks

採用された回答

Janik Ruge
Janik Ruge 2021 年 2 月 4 日
exportgraphics(app.UITab,'C:\User\(...).png');
Otherwise you would have to be more specific, usually you have to create a figure and copy stuff into that to save it.

その他の回答 (1 件)

Janik Ruge
Janik Ruge 2021 年 2 月 2 日
Right now I too am struggling with that problem. I have multiple graphs that i want to plot in each tab, but i also need some input variables and other stuff, that could be converted to string form to fit. I can manually annotate graphs in a figure, but that is insanely laborious, if i have multiple tabs, especially because i need the app to be resizeable.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by