Borrar filtros
Borrar filtros

How to save data in ascii format from a cell with a for loop?

1 visualización (últimos 30 días)
Jose Peñaloza
Jose Peñaloza el 9 de Sept. de 2015
Hi everyone!! I want to save data in ascii format from a cell with a for loop. For example if I have 2 files with different data in this case File{1,1} and File{1,2}, when I try to save data of each one for loop only saves me the first as you can see in the picture. I have no idea how to put a loop with a save function. I hope you can help me.
for k=1:numfiles
Archivo{k} = File{1,k}
save('Archivo','-ascii','-double')
end
Thanks in advance!!!

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements 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