This is a static copy of a profile report

Home

ishghandle (4 calls, 0.000 sec)
Generated 15-Mar-2007 12:02:03 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\graphics\ishghandle.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
ancestorM-function4
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
18
end
40 s0%
17
end
40 s0%
16
isHG(i) = isa(handle(h(i)), 'h...
40 s0%
15
if isHG(i)
40 s0%
14
for i = 1:length(h(:))
40 s0%
Other lines & overhead  0 s0%
Totals  0.000 s0% 
Children (called functions)
No children
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in file18
Non-code lines (comments, blank lines)11
Code lines (lines that can run)7
Code lines that did run7
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function isHG = ishghandle( h )
2 %ISHGHANDLE True for Handle Graphics object handles.
3 % ISHGHANDLE(H) returns an array that contains 1's where the elements
4 % of H are valid graphic object handles and 0's where they are not.
5 % Differs from ISHANDLE in that Simulink objects handles return false.
6
7 % Copyright 1984-2003 The MathWorks, Inc.
8 % $Revision: 1.1.6.2 $ $Date: 2004/04/10 23:28:50 $
9
4 10 error( nargchk(1,1,nargin) )
11
12 %See if it is a handle of some kind
4 13 isHG = ishandle(h);
4 14 for i = 1:length(h(:))
4 15 if isHG(i)
4 16 isHG(i) = isa(handle(h(i)), 'hg.GObject');
4 17 end
4 18 end