In Guide, How to insert Tab design
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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 Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!