This is a static copy of a profile reportHome
closereq (46 calls, 0.281 sec)
Generated 15-Mar-2007 12:01:47 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\graphics\closereq.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
18 | delete(currFig); | 46 | 0.281 s | 100.0% |  |
17 | set(0,'ShowHiddenHandles',shh)... | 46 | 0 s | 0% |  |
16 | currFig=get(0,'CurrentFigure')... | 46 | 0 s | 0% |  |
15 | set(0,'ShowHiddenHandles','on'... | 46 | 0 s | 0% |  |
14 | shh=get(0,'ShowHiddenHandles')... | 46 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.281 s | 100% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 19 |
Non-code lines (comments, blank lines) | 14 |
Code lines (lines that can run) | 5 |
Code lines that did run | 5 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function closereq
2 %CLOSEREQ Figure close request function.
3 % CLOSEREQ deletes the current figure window. By default, CLOSEREQ is
4 % the CloseRequestFcn for new figures.
5
6 % Copyright 1984-2002 The MathWorks, Inc.
7 % $Revision: 1.9 $ $Date: 2002/04/10 17:07:26 $
8
9 % Note that closereq now honors the user's ShowHiddenHandles setting
10 % during figure deletion. This means that deletion listeners and
11 % DeleteFcns will now operate in an environment which is not guaranteed
12 % to show hidden handles.
13
46 14 shh=get(0,'ShowHiddenHandles');
46 15 set(0,'ShowHiddenHandles','on');
46 16 currFig=get(0,'CurrentFigure');
46 17 set(0,'ShowHiddenHandles',shh);
0.28 46 18 delete(currFig);
19