This is a static copy of a profile reportHome
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 Name | Function Type | Calls |
ancestor | M-function | 4 |
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
18 | end | 4 | 0 s | 0% |  |
17 | end | 4 | 0 s | 0% |  |
16 | isHG(i) = isa(handle(h(i)), 'h... | 4 | 0 s | 0% |  |
15 | if isHG(i) | 4 | 0 s | 0% |  |
14 | for i = 1:length(h(:)) | 4 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 18 |
Non-code lines (comments, blank lines) | 11 |
Code lines (lines that can run) | 7 |
Code lines that did run | 7 |
Code lines that did not run | 0 |
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