This is a static copy of a profile report

Home

findobj (26 calls, 0.041 sec)
Generated 18-Mar-2011 23:32:26 using cpu time.
M-function in file /Applications/MATLAB_R2010a.app/toolbox/matlab/graphics/findobj.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
findallM-function20
uigettoolM-function4
legendcolorbarlayout>createListenersM-subfunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
45
h = findobjhelper( varargin{:}...
260.041 s100.0%
47
end
260 s0%
All other lines  0 s0%
Totals  0.041 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
findobjhelperM-function260.041 s100.0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.041 s100% 
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function47
Non-code lines (comments, blank lines)45
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
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
0.04 26 45 h = findobjhelper( varargin{:} );
46
26 47 end