Effacer les filtres
Effacer les filtres

loop question for listdlg

2 vues (au cours des 30 derniers jours)
Andy
Andy le 3 Oct 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

Réponse acceptée

Andy
Andy le 3 Oct 2011
never mind, i figured out what i did wrong

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by