How to make Tabs in Matlab GUI without using GUIDE?

1 回表示 (過去 30 日間)
Aleksandar Petrov
Aleksandar Petrov 2017 年 6 月 27 日
コメント済み: Stephen23 2017 年 6 月 27 日
does someone know how to create Tabs in Matlab GUI without using GUIDE?

採用された回答

ES
ES 2017 年 6 月 27 日
uitab
Example:
fHdl = figure;
objTbGrp = uitabgroup('Parent', fHdl);
objTab = uitab('Parent', objTbGrp, 'Title', 'TAB 1 HEADING');
objTab = uitab('Parent', objTbGrp, 'Title', 'TAB 2 HEADING');
  2 件のコメント
Aleksandar Petrov
Aleksandar Petrov 2017 年 6 月 27 日
do you know how to make references on different guide elements to different tabs. for instance, one push button is placed on the first tab and another push button on the second tab?
Thank you, Aleksandar Petrov
Stephen23
Stephen23 2017 年 6 月 27 日
@Aleksandar Petrov: allocate the tab handles to an array, and refer to those handles when defining the GUI elements (e.g. using the parent property, or as the first argument of many plotting functions).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by