This is a static copy of a profile report

Home

monthStr2num (10 calls, 0.000 sec)
Generated 05-Aug-2011 13:00:30 using cpu time.
function in file /home/LeechJ/cbass_analysis/matutils/dateconv/monthStr2num.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
tstr2mjdfunction10
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
17
dateOut=dateIn;
100 s0%
15
end
1200 s0%
14
end
100 s0%
13
dateIn.month=i;
100 s0%
12
if (strcmp(dateIn.month,month{...
1200 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
getmonthfunction100 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function17
Non-code lines (comments, blank lines)10
Code lines (lines that can run)7
Code lines that did run7
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function dateOut=monthStr2num(dateIn)
2
3 %dateOut=monthStr2num(dateIn)
4 %
5 %Converts output structure of tstr2date.m
6 %to have nummeric (1:12) month field, rather
7 %than string field.
8
10 9 month=getmonth;
10
10 11 for i=1:12
120 12 if (strcmp(dateIn.month,month{i}))
10 13 dateIn.month=i;
10 14 end
120 15 end
16
10 17 dateOut=dateIn;