This is a static copy of a profile report

Home

general/private/isfigure (Calls: 12, Time: 0.001 s)
Generated 16-Jul-2020 17:09:13 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/general/private/isfigure.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
saveasfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
17
isF = ishghandle(h, 'figure');
120.000 s42.0%
19
end
120.000 s1.8%
13
if nargin < 1
120.000 s0.4%
15
end
120.000 s0.2%
All other lines  0.000 s55.6%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function19
Non-code lines (comments, blank lines)14
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
Coverage (did run/can run)80.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 

   8 
% NOTE: This is a copy of toolbox/matlab/graphics/private/isfigure.m.
   9 
% If one of these becomes a user-visible function (outside the private 
  10 
% directories) then the other needs to be removed. 
  11 
% Till then, ideally, any change needs to be made in both the files.
  12 

< 0.001 
     12 
  13
if nargin < 1 
  14 
        narginchk(1,1)
< 0.001 
     12 
  15
end 
  16 

< 0.001 
     12 
  17
isF = ishghandle(h, 'figure'); 
  18 

< 0.001 
     12 
  19
end 

Other subfunctions in this file are not included in this listing.