This is a static copy of a profile report

Home

scribe.legend.methods>getfunhan (11 calls, 0.000 sec)
Generated 18-Mar-2011 23:33:04 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/@scribe/@legend/methods.m
Copy to new window for comparing multiple runs

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
1609
end
90 s0%
1608
out = {str2func(str),h,varargi...
90 s0%
1607
else
90 s0%
1603
out = str2func(str);
20 s0%
1602
if nargin == 3
20 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
M-Lint results
Line numberMessage
1608{ 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
1598 function out=getfunhan(h,str,varargin)
1599
11 1600 if strcmp(str,'-noobj')
2 1601 str = varargin{1};
2 1602 if nargin == 3
2 1603 out = str2func(str);
1604 else
1605 out = {str2func(str),varargin{2:end}};
1606 end
9 1607 else
9 1608 out = {str2func(str),h,varargin{:}};
9 1609 end

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