datestr(now) is now
a very simple command to make a timestamp:
>> datestr(now)
ans =
18-Jan-2010 15:31:58
i like to write this string to my output files, especially if it is a file that i append to. then if you change something in the program on some date, you can look at lines before that date to see the difference. (or, if you make 11 versions of the same dumb program, you can always look at the output file and