Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Honglei Chen
el 27 de En. de 2012
You can use imwrite and date
doc imwrite
doc date
3 comentarios
Syed Abbas
el 27 de En. de 2012
Walter Roberson
el 27 de En. de 2012
today = date();
thisfile = ['C:\docs\' today];
saveas(thisfile)
Syed Abbas
el 31 de En. de 2012
Categorías
Más información sobre Manage Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!