App Designer : Adding elements to listbox

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 个评论

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 个)

‘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:

类别

帮助中心File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by