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.

Respuestas (1)

Walter Roberson
Walter Roberson el 4 de Mayo de 2016

0 votos

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

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Mayo de 2016

Respondida:

el 4 de Mayo de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by