This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
close>request_closeM-subfunction46
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
18
delete(currFig);
460.281 s100.0%
17
set(0,'ShowHiddenHandles',shh)...
460 s0%
16
currFig=get(0,'CurrentFigure')...
460 s0%
15
set(0,'ShowHiddenHandles','on'...
460 s0%
14
shh=get(0,'ShowHiddenHandles')...
460 s0%
Other lines & overhead  0 s0%
Totals  0.281 s100% 
Children (called functions)
No children
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in file19
Non-code lines (comments, blank lines)14
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
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