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.

Risposte (1)

Walter Roberson
Walter Roberson il 4 Mag 2016

0 voti

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

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Tag

Richiesto:

il 4 Mag 2016

Risposto:

il 4 Mag 2016

Community Treasure Hunt

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

Start Hunting!

Translated by