appdesignerで作ったタブを自動的に切り替える事は可能か
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ryohei Mizuochi
am 8 Jul. 2021
Kommentiert: Ryohei Mizuochi
am 9 Jul. 2021
appdesignerでタブグループを使用した場合、例えばタブAに作成されたボタンを押したら、自動的にタブBの画面に切り替えるような機構は作成可能でしょうか。
初歩的な事かもしれませんが、ご教示いただければ幸いです。
0 Kommentare
Akzeptierte Antwort
Atsushi Ueno
am 8 Jul. 2021
TabGroup.SelectedTabを変更すれば、別タブの画面に切り替わる事を確認しました。
添付したアプリ"app1.mlapp"の一部を下記に抜粋します。
% Value changed function: SwitchtoTab2Button
function SwitchtoTab2ButtonValueChanged(app, event)
value = app.SwitchtoTab2Button.Value;
app.TabGroup.SelectedTab = app.Tab2;
end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu App Designer を使用したアプリ開発 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!