App designer - Execute code on tab switch

17 ビュー (過去 30 日間)
xCuse
xCuse 2019 年 8 月 22 日
コメント済み: xCuse 2019 年 8 月 22 日
Hey there,
im currently working on an application which has several tabs in its tabgroup. in every tab there are functions to display images.
I looked for a way to close all currently open figures except the main gui and found this code sample by Image Analyst:
set(handleToYourMainGUI, 'HandleVisibility', 'off');
close all;
set(handleToYourMainGUI, 'HandleVisibility', 'on');
Is there a way to execute this code whenever i switch from one of my tabs in the tabgroup to another ?
Thx for your help in advance!

回答 (0 件)

カテゴリ

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

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by