필터 지우기
필터 지우기

Different arrayname for every data

조회 수: 1 (최근 30일)
alex
alex 2013년 5월 15일
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일
for a=1:2
[image, head, descrip, iaopt]=loadsir(files{1,a})
imag{a}=image
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by