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)global MyListOfFilesglobal Listglobal iif i<16ListBoxValue = get(handles.listbox1,'value');f=MyListOfFiles{ListBoxValue};g=find(strcmp(List,f));if isempty(g)==1 List(i,:)=MyListOfFiles(ListBoxValue); set(handles.listbox2,'String',List); i=i+1;else msgbox('you have already selected this song') endif i>15 msgbox('Switch to the next tab for operator setting')endelsemsgbox('you have already selected 15 songs, Switch to the next tab for operator setting') end
Best Answer