timeString returns the current time and date in a convenient string format.
0001 % timeString returns the current time and date in a convenient string format. 0002 0003 % This file is part of the SaliencyToolbox - Copyright (C) 2006-2007 0004 % by Dirk B. Walther and the California Institute of Technology. 0005 % See the enclosed LICENSE.TXT document for the license agreement. 0006 % More information about this project is available at: 0007 % http://www.saliencytoolbox.net 0008 0009 function s = timeString() 0010 0011 t = clock; 0012 d = date; 0013 s = sprintf('%02d:%02d:%04.1f on %s',t(4),t(5),t(6),d);