Borrar filtros
Borrar filtros

Different arrayname for every data

1 visualización (últimos 30 días)
alex
alex el 15 de Mayo de 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

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 15 de Mayo de 2013
Editada: Azzi Abdelmalek el 15 de Mayo de 2013
for a=1:2
[image, head, descrip, iaopt]=loadsir(files{1,a})
imag{a}=image
end

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by