Hi, I have this code to read in files:
yourfolder='F:\wichtige Dokumente\Universität\SoSe 2013\Bachelorarbeit\Daten\SIR Daten\Alles\*.sir';
repertoir=dir(yourfolder);
files={repertoir.name}
for a=1:2
image=?
[image, head, descrip, iaopt]=loadsir(files{1,a})
end
[image] gives out an array. How can i change the name of the array for every run?
Thanks

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 15 日
編集済み: Azzi Abdelmalek 2013 年 5 月 15 日

0 投票

for a=1:2
[image, head, descrip, iaopt]=loadsir(files{1,a})
imag{a}=image
end

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Read, Write, and Modify Image についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by