This is a static copy of a profile reportHome
scribe.legend.methods>getfunhan (5 calls, 0.000 sec)
Generated 28-Feb-2011 19:18:06 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)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
1609 | end | 4 | 0 s | 0% |  |
1608 | out = {str2func(str),h,varargi... | 4 | 0 s | 0% |  |
1607 | else | 4 | 0 s | 0% |  |
1603 | out = str2func(str); | 1 | 0 s | 0% |  |
1602 | if nargin == 3 | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenM-Lint results
Line number | Message |
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 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
1598 function out=getfunhan(h,str,varargin)
1599
5 1600 if strcmp(str,'-noobj')
1 1601 str = varargin{1};
1 1602 if nargin == 3
1 1603 out = str2func(str);
1604 else
1605 out = {str2func(str),varargin{2:end}};
1606 end
4 1607 else
4 1608 out = {str2func(str),h,varargin{:}};
4 1609 end
Other subfunctions in this file are not included in this listing.