Filter löschen
Filter löschen

loop question for listdlg

2 Ansichten (letzte 30 Tage)
Andy
Andy am 3 Okt. 2011
for aaa = 1:3
cd(rootdir)
d = dir;
str = {d.name};
[s,v] = listdlg('PromptString','Select a file:',...
'SelectionMode','multiple',...
'ListString',str)
matlabdir= get(handles.edit1, 'string')
cd(matlabdir)
end
this is what i have, but for some reason, it does not loop

Akzeptierte Antwort

Andy
Andy am 3 Okt. 2011
never mind, i figured out what i did wrong

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by