how to save the figure?
Ältere Kommentare anzeigen
i have some functions then i have
if true
figure(k)
end
each iteration i got one figure. now i want to save the every figure in a new directory. please help me
Akzeptierte Antwort
Weitere Antworten (2)
Azzi Abdelmalek
am 10 Mai 2013
fichier=fullfile('directory','filename')
saveas(gcf,'fichier.jpg')
2 Kommentare
win
am 10 Mai 2013
Azzi Abdelmalek
am 10 Mai 2013
for k=1:10
fichier=fullfile('directory',sprintf('filename%d',k))
saveas(gcf,'fichier.jpg')
Image Analyst
am 11 Mai 2013
0 Stimmen
The usual answer is to refer to the FAQ for several code examples: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!