How to select multiple option on listbox?
58 views (last 30 days)
Show older comments
Epri Pratiwi on 13 Aug 2020
Commented: Epri Pratiwi on 17 Aug 2020
I want to select multiple children song title from the listbox1 (left). The only thing I know is only select one by to to move to into listbox2 (right). If somebody know the functio how to do that, let me know :)
% --- Executes on button press in upload.
function upload_Callback(hObject, eventdata, handles)
ListBoxValue = get(handles.listbox1,'value');
msgbox('you have already selected this song')
msgbox('Switch to the next tab for operator setting')
msgbox('you have already selected 15 songs, Switch to the next tab for operator setting')
Prabhanjan Mentla on 17 Aug 2020
There is an option to select multiple items in a list box. By default, it is not selected.
Here’s the option for Multiselect in Interactivity under Inspector.
To test, consider a sample case where to display all the items selected in a UI table. However, the order of items in UI table depends on the order of selection from list box.
Hope this helps.
More Answers (0)
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!