Filter löschen
Filter löschen

How to save result images?

1 Ansicht (letzte 30 Tage)
Sajina Rose
Sajina Rose am 1 Okt. 2019
Beantwortet: Walter Roberson am 1 Okt. 2019
I need to write the output figures in seperate folder........can anyone please help me...?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Okt. 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by