How to save result images?
3 views (last 30 days)
Show older comments
Sajina Rose
on 1 Oct 2019
Answered: Walter Roberson
on 1 Oct 2019
I need to write the output figures in seperate folder........can anyone please help me...?
0 Comments
Accepted Answer
Walter Roberson
on 1 Oct 2019
output_folder = 'C:\Users\Sajina\Documents\MATLAB\Project9\outputs';
outfile = fullfile(output_folder, 'fig1.png');
saveas(gcf, outfile);
the file will be written into the named directory.
0 Comments
More Answers (0)
See Also
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!