This is a static copy of a profile reportHome
graphics/private/isfigure (440 calls, 0.033 sec)
Generated 05-Aug-2011 13:03:34 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/private/isfigure.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 |
16 | isF = ishghandle(h, 'figure'); | 440 | 0.022 s | 66.7% |  |
14 | error( nargchk(1,1,nargin) ) | 440 | 0.011 s | 33.3% |  |
18 | end | 440 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.033 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 18 |
Non-code lines (comments, blank lines) | 15 |
Code lines (lines that can run) | 3 |
Code lines that did run | 3 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function isF = isfigure( h )
2 %ISFIGURE True for Figure handles.
3 % ISFIGURE(H) returns an array that contains 1's where the elements
4 % of H are valid Figure handles and 0's where they are not.
5
6 % Copyright 1984-2008 The MathWorks, Inc.
7 % $Revision: 1.4.4.5 $ $Date: 2008/12/15 08:52:58 $
8
9 % NOTE: This is a copy of toolbox/matlab/general/private/isfigure.m.
10 % If one of these becomes a user-visible function (outside the private
11 % directories) then the other needs to be removed.
12 % Till then, ideally, any change needs to be made in both the files.
13
0.01 440 14 error( nargchk(1,1,nargin) )
15
0.02 440 16 isF = ishghandle(h, 'figure');
17
440 18 end