how to save the figure?
이전 댓글 표시
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
채택된 답변
추가 답변 (2개)
Azzi Abdelmalek
2013년 5월 10일
fichier=fullfile('directory','filename')
saveas(gcf,'fichier.jpg')
댓글 수: 2
win
2013년 5월 10일
Azzi Abdelmalek
2013년 5월 10일
for k=1:10
fichier=fullfile('directory',sprintf('filename%d',k))
saveas(gcf,'fichier.jpg')
Image Analyst
2013년 5월 11일
0 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!