This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
graphics/private/clofunction10
datachildrenfunction249
findallfunction1275
graphics/private/validateHandleToPrintfunction40
savtonerfunction1976
graphics/private/noselectionfunction40
noanimatefunction120
uigettoolfunction174
legendcolorbarlayout>createListenerssubfunction14
linkaxesfunction1
close>safegetchildrensubfunction119
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
45
h = findobjhelper( varargin{:}...
40181.803 s98.2%
47
end
40180.011 s0.6%
All other lines  0.022 s1.2%
Totals  1.836 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
findobjhelperfunction40181.782 s97.0%
Self time (built-ins, overhead, etc.)  0.055 s3.0%
Totals  1.836 s100% 
Code Analyzer results
No Code Analyzer 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
1.80 4018 45 h = findobjhelper( varargin{:} );
46
0.01 4018 47 end