matlab: How to print date and time
Posted by rolf on Sunday, 15 March 2015
If your matlab version is too old to support the function
datetime
you could use following lines to print date and time
c = fix(clock); time = date; dateANDtime = sprintf('%s-%i:%i:%.0f', time, c(4),c(5),c(6));
dateANDtime e.g. 15-Mar-2015-21:29:46
blog_external_links:
Add new comment