This is a static copy of a profile report

Home

last (4 calls, 0.000 sec)
Generated 05-Aug-2011 13:01:26 using cpu time.
function in file /home/LeechJ/cbass_analysis/matutils/last.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
reduceData>checkAlphaDatabasesubfunction1
checkAlphaDatabasefunction1
tsysWrapperfunction1
skimfunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
14
return;
40 s0%
12
a = array(length(array));
40 s0%
11
array = array(:);
40 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)11
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function a = last(array)
2
3 %%%%%%%%%%%%%%%%%%%
4 %
5 % function a = last(array)
6 %
7 % picks out last entry in a matrix.
8 %
9 %%%%%%%%%%%%%%%%%%%%%%%%55
10
4 11 array = array(:);
4 12 a = array(length(array));
13
4 14 return;