Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Jose Peñaloza
Jose Peñaloza le 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!!!

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by