how to add data in gui?

2 次查看(过去 30 天)
Siva Prasad
Siva Prasad 2016-5-4
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
uicontrol('style','list') does not support that.
You might be able to use the undocumented function uitree() and uitreenode()

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by