Different arrayname for every data
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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 Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!