Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
Jose Peñaloza
Jose Peñaloza am 9 Sep. 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!!!

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by