Saving files uniquely when I process a sequence of files

1 view (last 30 days)
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?

Accepted Answer

Sean de Wolski
Sean de Wolski on 15 Feb 2013
Give it a numerical extension (id)
Simple example:
for ii = 1:10
filename = ['Friday_' num2str(ii) '.txt']
end

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!