loop question for listdlg

1 回表示 (過去 30 日間)
Andy
Andy 2011 年 10 月 3 日
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 日
never mind, i figured out what i did wrong

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by