Saving figure
이전 댓글 표시
Hi,
I have an m file which generates a figure. I run this m file daily. But each day, I have to name and manually save the figure. Is there a way to automatically save the figure with todays date as the file name? I know how to automatically save the figure but I am not sure how to use todays date as the file name. Thanks.
채택된 답변
추가 답변 (1개)
Honglei Chen
2012년 1월 27일
You can use imwrite and date
doc imwrite
doc date
댓글 수: 3
Syed Abbas
2012년 1월 27일
Walter Roberson
2012년 1월 27일
today = date();
thisfile = ['C:\docs\' today];
saveas(thisfile)
Syed Abbas
2012년 1월 31일
카테고리
도움말 센터 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!