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!