loop question for listdlg

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

 採用された回答

Andy
Andy 2011 年 10 月 3 日

0 投票

never mind, i figured out what i did wrong

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2011 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by