How can i load a List Box with filepath and filename using multiple selected file by uigetfile() ???
Show older comments
I want to create a MATLAB GUI that contains tow object: a push button and a list box. I want to use the push button for browse multiple file. After selecting multiple file i want to load filepath and filename into list box. Here is my code:
function pushButton1_Callback(hObject, eventdata, handles)
[filename, pathname] = uigetfile('MultiSelect','on');
set(handles.listbox1, 'String', [pathname,filename]);
It works when i select single file. It dose not work when i select multiple file. I don't know how to handle it. Please Help.....
Thanks In Advance.... :)
Accepted Answer
More Answers (0)
Categories
Find more on App Building 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!