How to save figures in a for loop?
Show older comments
I've created a for loop for 5 subjects. The first times the loop runs, I get a plot for subject one. I want to save this figure under the name 'plot_subject_1'. The next time the loop runs, I want to save the figure under the name 'plot_subject_2'. How do I do this?
Accepted Answer
More Answers (1)
nikhil baraiya
on 29 Jan 2019
0 votes
Its Working Fine Thanks
Categories
Find more on Lighting, Transparency, and Shading 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!