How to save result images?

1 vue (au cours des 30 derniers jours)
Sajina Rose
Sajina Rose le 1 Oct 2019
I need to write the output figures in seperate folder........can anyone please help me...?

Réponse acceptée

Walter Roberson
Walter Roberson le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by