This is a static copy of a profile reportHome
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)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
99 | end | 1 | 0 s | 0% |  |
96 | if ishandle(childMode) | 1 | 0 s | 0% |  |
95 | for childMode = hMode.Register... | 1 | 0 s | 0% |  |
91 | if ~isempty(hMode.UIContextMen... | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 13 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 8 |
Code lines that did run | 4 |
Code lines that did not run | 4 |
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.