How to save result images?

1 次查看(过去 30 天)
I need to write the output figures in seperate folder........can anyone please help me...?

采纳的回答

Walter Roberson
Walter Roberson 2019-10-1
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 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by