how to add data in gui?

I want add data dynamically to GUI list box like below.
1.Matlab
1.1 Arrays.
1.2 Vectors.
2.Simulink
2.1 Logical blocks
2.2 Arithmetic blocks
The data structure should be like word document with main section and sub-sections
Please help me in this.

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 5 月 4 日

0 投票

uicontrol('style','list') does not support that.
You might be able to use the undocumented function uitree() and uitreenode()

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2016 年 5 月 4 日

回答済み:

2016 年 5 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by