Can I hide a tab in MATLAB App Designer?
Show older comments
Hello,
I created a GUI with multiple tabs in a TabGroup, and would like to use flags/buttons to control the visibility of tabs, so I have different tabs for different configs.
But I found that you can only hide the whole TabGroup, you cannot hide a tab inside because there is no 'Visible' option.
Is there a way to achieve this or I have to use other GUI such as Python? Thanks!
Anna
Accepted Answer
More Answers (5)
yumeng Jiang
on 30 Oct 2019
0 votes
hi do you know how to hide the title of tabgroup???
1 Comment
Anna Zeng
on 30 Oct 2019
yumeng Jiang
on 30 Oct 2019
0 votes
您好 不知道您能否看懂中文 我是想问一下 如何能够将上面的那一栏隐藏掉,我想实现在一个窗口内有多个界面可以进行切换。我最初想用多个panel分别设置visible但是失败了,因为会发生重叠后包含的父子关系,这个问题还没有解决。于是我想用这个Tabgroup来实现 我是不希望在我的界面中看到上面那一栏的, 不知道您有什么办法么???

1 Comment
Anna Zeng
on 31 Oct 2019
yumeng Jiang
on 30 Oct 2019
0 votes
i want to hide the top line(title line) of tabgroup , could u tell more details about your solution?? can i contact with you on wechat or q if possible???thank you !!!!!

1 Comment
Anna Zeng
on 30 Oct 2019
yumeng Jiang
on 30 Oct 2019
0 votes
i want to hide the part in red circle,or do you know how to creat several panels overlapping but without inclusion relationship。

1 Comment
Inso
on 3 Dec 2019
Try " app.Tab.Title=' '; "
Adam Danz
on 19 Jun 2020
0 votes
As of r2020a, there isn't an option to control the visibility or enable-property of individual tabs.
However, you can apply this demo to your app to control which tabs can be selected under different conditions. The demo prevents certain tabs from being selected according to the values of a set of checkboxes.
Demo:

1 Comment
Anna Zeng
on 20 Jun 2020
Categories
Find more on Develop Apps Using 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!