MATLAB Answers

App Designer : Adding elements to listbox

120 views (last 30 days)
Rohit Deshmukh
Rohit Deshmukh on 25 Sep 2019
Answered: Roshni Garnayak on 8 Nov 2019
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 Comment
Ankit
Ankit on 25 Sep 2019
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

Sign in to comment.

Answers (1)

Roshni Garnayak
Roshni Garnayak on 8 Nov 2019
‘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:

Community Treasure Hunt

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

Start Hunting!

Translated by