Posts Tagged ‘now()’

February 10, 2014 0

date string in matlab to autogenerate filenames

By in matlab

generate file names using the current date and time. e.g. filename=[datestr(now(),’yyyy-mm-dd HH:MM’) ‘ preprocessed data.txt’]; generates: 2014-02-10 16:40 preprocessed data.txt

Tags: , ,