This is a static copy of a profile report

Home

scribe.legend.methods>getfunhan (83 calls, 0.000 sec)
Generated 05-Aug-2011 13:02:54 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/@scribe/@legend/methods.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
scribe.legend.methodsfunction83
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
1613
end
690 s0%
1612
out = {str2func(str),h,varargi...
690 s0%
1611
else
690 s0%
1607
out = str2func(str);
140 s0%
1606
if nargin == 3
140 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
1612{ A{:} B } can often be replaced by [ A {B}], which can be much faster.
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)2
Code lines (lines that can run)10
Code lines that did run7
Code lines that did not run3
Coverage (did run/can run)70.00 %
Function listing
   time   calls  line
1602 function out=getfunhan(h,str,varargin)
1603
83 1604 if strcmp(str,'-noobj')
14 1605 str = varargin{1};
14 1606 if nargin == 3
14 1607 out = str2func(str);
1608 else
1609 out = {str2func(str),varargin{2:end}};
1610 end
69 1611 else
69 1612 out = {str2func(str),h,varargin{:}};
69 1613 end

Other subfunctions in this file are not included in this listing.