In Guide, How to insert Tab design

1 Ansicht (letzte 30 Tage)
dmfwlansejr
dmfwlansejr am 17 Aug. 2021
Kommentiert: Rik am 17 Aug. 2021
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 Kommentar
Rik
Rik am 17 Aug. 2021
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by