This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
graphics/private/validateHandleToPrintfunction40
graphics/private/validatefunction80
graphics/private/namefunction40
graphics/private/preparefunction40
graphics/private/preparehgfunction40
graphics/private/prepareuifunction40
graphics/private/restorefunction40
graphics/private/restorehgfunction40
graphics/private/restoreuifunction40
graphics/private/restorepointersfunction40
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
16
isF = ishghandle(h, 'figure');
4400.022 s66.7%
14
error( nargchk(1,1,nargin) )
4400.011 s33.3%
18
end
4400 s0%
All other lines  0 s0%
Totals  0.033 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function18
Non-code lines (comments, blank lines)15
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
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