This is a static copy of a profile report

Home

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 NameFunction TypeCalls
img2slmlfunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
14
t = [d(2:3) '-' mths(c(2),:) '...
10 s0%
13
d = sprintf('%.0f',c(3)+100);
10 s0%
11
mths = ['Jan';'Feb';'Mar';'Apr...
10 s0%
10
c = clock;
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function14
Non-code lines (comments, blank lines)10
Code lines (lines that can run)4
Code lines that did run4
Code lines that did not run0
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))];