App Designer : Adding elements to listbox

23 次查看(过去 30 天)
Hello,
I am using app designer.
I am trying to add new elements in listbox by selecting checkboxes.
Please suggest a code for the same.
  1 个评论
Ankit
Ankit 2019-9-25
could you please post where actually you are facing problem?
Just check this GUI example: How can I add to the string in a popup or listbox? from FEX

请先登录,再进行评论。

回答(1 个)

Roshni Garnayak
Roshni Garnayak 2019-11-8
‘Items’ property of listbox can be used to add elements into the list box. You could use the ‘ValueChangedFcn’ of checkbox to populate the listbox when the checkbox is checked.
Referring to the following links might be useful:

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by