appdesignerで作ったタブを自動的に切り替える事は可能か
26 views (last 30 days)
Show older comments
Ryohei Mizuochi
on 8 Jul 2021
Commented: Ryohei Mizuochi
on 9 Jul 2021
appdesignerでタブグループを使用した場合、例えばタブAに作成されたボタンを押したら、自動的にタブBの画面に切り替えるような機構は作成可能でしょうか。
初歩的な事かもしれませんが、ご教示いただければ幸いです。
0 Comments
Accepted Answer
Atsushi Ueno
on 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
More Answers (0)
See Also
Categories
Find more on App Designer を使用したアプリ開発 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!