Saving files uniquely when I process a sequence of files
1 次查看(过去 30 天)
显示 更早的评论
I have found how to run a sequence of files, but if each file has a result how can I save that result uniquely for each file so it is not overwritten by the next file?
0 个评论
采纳的回答
Sean de Wolski
2013-2-15
Give it a numerical extension (id)
Simple example:
for ii = 1:10
filename = ['Friday_' num2str(ii) '.txt']
end
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!