This is a static copy of a profile reportHome
hggetbehavior>localPeek (5 calls, 0.000 sec)
Generated 28-Feb-2011 19:17:59 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/graphics/hggetbehavior.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 |
112 | if isfield(bb,behavior_name) | 5 | 0 s | 0% |  |
110 | bb = get(h,'Behavior'); | 5 | 0 s | 0% |  |
109 | ret_h = handle([]); | 5 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 9 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 5 |
Code lines that did run | 3 |
Code lines that did not run | 2 |
Coverage (did run/can run) | 60.00 % |
Function listing
time calls line
106 function [ret_h] = localPeek(h,behavior_name)
107 % Loop through available behavior objects
108
5 109 ret_h = handle([]);
5 110 bb = get(h,'Behavior');
111
5 112 if isfield(bb,behavior_name)
113 ret_h = bb(1).(behavior_name);
114 end