How to save result images?

1 visualizzazione (ultimi 30 giorni)
Sajina Rose
Sajina Rose il 1 Ott 2019
Risposto: Walter Roberson il 1 Ott 2019
I need to write the output figures in seperate folder........can anyone please help me...?

Risposta accettata

Walter Roberson
Walter Roberson il 1 Ott 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.

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by