In Guide, How to insert Tab design

1 次查看(过去 30 天)
dmfwlansejr
dmfwlansejr 2021-8-17
评论: Rik 2021-8-17
I find it following
--------------------------------------------------
f = uifigure;
tgroup = uitabgroup(f);
tab1 = uitab(tgroup,'Title','Tab One');
tab2 = uitab(tgroup,'Title','Tab Two');
tgroup.SelectedTab = tab2;
--------------------------------------------------
This code copy and paste is work well.
But, How to insert in Guide program !
The reason why I do so, is legacy code exist
  1 个评论
Rik
Rik 2021-8-17
You can either edit the figure with GUIDE, or put code like this in the startup function.
If you're making meaningful edits you might also consider rebuilding your GUI outside of GUIDE.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by