App Designer : Adding elements to listbox

조회 수: 22 (최근 30일)
Rohit Deshmukh
Rohit Deshmukh 2019년 9월 25일
답변: Roshni Garnayak 2019년 11월 8일
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