This is a static copy of a profile reportHome
findobj (4018 calls, 1.836 sec)
Generated 05-Aug-2011 13:01:33 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/findobj.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
45 | h = findobjhelper( varargin{:}... | 4018 | 1.803 s | 98.2% |  |
47 | end | 4018 | 0.011 s | 0.6% |  |
All other lines | | | 0.022 s | 1.2% |  |
Totals | | | 1.836 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
findobjhelper | function | 4018 | 1.782 s | 97.0% |  |
Self time (built-ins, overhead, etc.) | | | 0.055 s | 3.0% |  |
Totals | | | 1.836 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 47 |
Non-code lines (comments, blank lines) | 45 |
Code lines (lines that can run) | 2 |
Code lines that did run | 2 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function h = findobj(varargin)
2 %FINDOBJ Find objects with specified property values.
3 % H = FINDOBJ('P1Name',P1Value,...) returns the handles of the
4 % objects at the root level and below whose property values
5 % match those passed as param-value pairs to the FINDOBJ
6 % command.
7 %
8 % H = FINDOBJ(ObjectHandles, 'P1Name', P1Value,...) restricts
9 % the search to the objects listed in ObjectHandles and their
10 % descendents.
11 %
12 % H = FINDOBJ(ObjectHandles, 'flat', 'P1Name', P1Value,...)
13 % restricts the search only to the objects listed in
14 % ObjectHandles. Their descendents are not searched.
15 %
16 % H = FINDOBJ(ObjectHandles, '-depth', d,...) specifies the
17 % depth of the search. It controls how many levels under the
18 % handles in ObjectHandles are traversed. Specifying d=0 gets
19 % the same behavior as using the 'flat' argument. Specifying
20 % d=inf gets the default behavior of all levels.
21 %
22 % H = FINDOBJ returns the handles of the root object and all its
23 % descendents.
24 %
25 % H = FINDOBJ(ObjectHandles) returns the handles listed in
26 % ObjectHandles, and the handles of all their descendents.
27 %
28 % H = FINDOBJ('P1Name', P1Value, '-logicaloperator', ...)
29 % applies the logical operator to the property value matching.
30 % Possible values for -logicaloperator are -and, -or, -xor, -not.
31 %
32 % H = FINDOBJ('-regexp', 'P1Name', 'regexp',...) matches objects
33 % using regular expressions as if the value of the property P1Name
34 % is passed to REGEXP as:
35 % regexp('P1Name', 'regexp').
36 % FINDOBJ returns the object's handle if a match occurs.
37 %
38 % H = FINDOBJ('-property', 'P1Name') finds all objects having
39 % the specified property.
40 %
41 % See also SET, GET, GCF, GCA.
42
43 % Copyright 1984-2009 The MathWorks, Inc.
44
1.80 4018 45 h = findobjhelper( varargin{:} );
46
0.01 4018 47 end