This is a static copy of a profile report

Home

uitools.uimode.createuimode>localCleanUp (1 call, 0.000 sec)
Generated 05-Nov-2014 07:52:55 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/matlab/uitools/@uitools/@uimode/createuimode.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...modemanager.uimodemanager>localDeletesubfunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
99
end
10 s0%
96
if ishandle(childMode)
10 s0%
95
for childMode = hMode.Register...
10 s0%
91
if ~isempty(hMode.UIContextMen...
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function13
Non-code lines (comments, blank lines)5
Code lines (lines that can run)8
Code lines that did run4
Code lines that did not run4
Coverage (did run/can run)50.00 %
Function listing
   time   calls  line
87 function localCleanUp(hMode,evd) %#ok<INUSD>
88 % Delete context-menus associated with a mode when the mode is deleted, as
89 % well as any sub-modes
90
1 91 if ~isempty(hMode.UIContextMenu) && ishghandle(hMode.UIContextMenu)
92 delete(hMode.UIContextMenu);
93 end
94 % Delete any submodes as well
1 95 for childMode = hMode.RegisteredModes
1 96 if ishandle(childMode)
97 delete(childMode)
98 end
1 99 end

Other subfunctions in this file are not included in this listing.