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

1 次查看(过去 30 天)
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!!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by