This is a static copy of a profile reportHome
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)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
1613 | end | 69 | 0 s | 0% |  |
1612 | out = {str2func(str),h,varargi... | 69 | 0 s | 0% |  |
1611 | else | 69 | 0 s | 0% |  |
1607 | out = str2func(str); | 14 | 0 s | 0% |  |
1606 | if nargin == 3 | 14 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
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 function | 12 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 10 |
Code lines that did run | 7 |
Code lines that did not run | 3 |
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.