This is a static copy of a profile reportHome
date (1 call, 0.000 sec)
Generated 05-Nov-2014 07:53:56 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/timefun/date.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
img2slml | function | 1 |
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
14 | t = [d(2:3) '-' mths(c(2),:) '... | 1 | 0 s | 0% |  |
13 | d = sprintf('%.0f',c(3)+100); | 1 | 0 s | 0% |  |
11 | mths = ['Jan';'Feb';'Mar';'Apr... | 1 | 0 s | 0% |  |
10 | c = clock; | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 10 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function t = date
2 %DATE Current date as date string.
3 % S = DATE returns a string containing the date in dd-mmm-yyyy format.
4 %
5 % See also NOW, CLOCK, DATENUM.
6
7 % Copyright 1984-2002 The MathWorks, Inc.
8 % $Revision: 1.15 $ $Date: 2002/04/15 03:20:04 $
9
1 10 c = clock;
1 11 mths = ['Jan';'Feb';'Mar';'Apr';'May';'Jun';'Jul';
12 'Aug';'Sep';'Oct';'Nov';'Dec'];
1 13 d = sprintf('%.0f',c(3)+100);
1 14 t = [d(2:3) '-' mths(c(2),:) '-' sprintf('%.0f',c(1))];