Saving files uniquely when I process a sequence of files

2 次查看(过去 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?

采纳的回答

Sean de Wolski
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 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by