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.

Answers (1)

Walter Roberson
Walter Roberson on 4 May 2016

0 votes

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

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Asked:

on 4 May 2016

Answered:

on 4 May 2016

Community Treasure Hunt

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

Start Hunting!