Change of saving folder with each iteration
Show older comments
I want to set path where to save a file. But this saving function is in loop and name of saving variable is changing every iteration.
for k....
for l......
filename = [ 'delta',num2str(l) ,num2str(k), '.mat'];
save(filename,'delta')
end
end
and i want to change name of folder where to save also with every iteration.
filepath=['c:\....\' int2str(l) '\'];
Thanks for help!!
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Report Generator 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!