标签: matlab matlab-guide
function SelectAll_Callback(hObject, eventdata, handles) global p data=get(handles.listbox3,'string');%get all the data in ListBox set(handles.listbox3,'string',data,'value',1);%Select all end
我想在同一个GUI中按下Select All按钮后选择列表框中的所有数据