This is a static copy of a profile report

Home

datachildren (249 calls, 0.077 sec)
Generated 05-Aug-2011 13:01:33 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/datachildren.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
subplotfunction249
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
16
h = findobj(parent,'type','axe...
2490.066 s85.7%
17
nondatachild = logical([]);
2490.011 s14.3%
21
h(nondatachild) = [];
2490 s0%
20
end
14450 s0%
19
nondatachild(i) = isappdata(h(...
14450 s0%
All other lines  0 s0%
Totals  0.077 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
findobjfunction2490.055 s71.4%
Self time (built-ins, overhead, etc.)  0.022 s28.6%
Totals  0.077 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function21
Non-code lines (comments, blank lines)15
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function h = datachildren(parent)
2 %DATACHILDREN Handles to figure children that contain data.
3 % H = DATACHILDREN(FIG) returns the children in the figure
4 % that contain data and are suitable for manipulation via
5 % functions like ROTATE3D and ZOOM.
6 %
7 % This is a helper function for ROTATE3D and ZOOM.
8
9 % Copyright 1984-2002 The MathWorks, Inc.
10 % $Revision: 1.7.4.1 $ $Date: 2010/09/02 13:36:01 $
11
12 % Current implementation:
13 % Figure children that have an application data property
14 % called 'NonDataObject' are excluded.
15
0.07 249 16 h = findobj(parent,'type','axes');
0.01 249 17 nondatachild = logical([]);
249 18 for i=length(h):-1:1
1445 19 nondatachild(i) = isappdata(h(i),'NonDataObject');
1445 20 end
249 21 h(nondatachild) = [];