Different arrayname for every data

8 Ansichten (letzte 30 Tage)
alex
alex am 15 Mai 2013
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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 15 Mai 2013
Bearbeitet: Azzi Abdelmalek am 15 Mai 2013
for a=1:2
[image, head, descrip, iaopt]=loadsir(files{1,a})
imag{a}=image
end

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by