This is a static copy of a profile reportHome
openfig>cleanUp (1 call, 0.020 sec)
Generated 05-Nov-2014 07:52:56 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/matlab/graphics/openfig.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 |
145 | token = getToken(filename); | 1 | 0.020 s | 100.0% |  |
154 | end | 1 | 0 s | 0% |  |
150 | rmappdata(0,token); | 1 | 0 s | 0% |  |
149 | if isempty(figs) | 1 | 0 s | 0% |  |
148 | figs(figs==fig)=[]; | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.020 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
openfig>getToken | subfunction | 1 | 0.020 s | 100.0% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 0.020 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 10 |
Code lines that did run | 7 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 70.00 % |
Function listing
time calls line
143 function cleanUp(fig,~,filename)
144 % remove the appData added for this fig on root
0.02 1 145 token = getToken(filename);
1 146 figs = getappdata(0, token);
1 147 if ~isempty(figs)
1 148 figs(figs==fig)=[];
1 149 if isempty(figs)
1 150 rmappdata(0,token);
151 else
152 setappdata(0,token,figs);
153 end
1 154 end
Other subfunctions in this file are not included in this listing.