This is a static copy of a profile report

Home

isUIFigure (Calls: 20, Time: 0.004 s)
Generated 16-Jul-2020 17:09:17 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/uitools/+matlab/+ui/+internal/isUIFigure.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
UnsupportedInUifigurefunction12
PointerMixin>PointerMixin.updatePointerclass method8
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
if ~isempty(f) && isem...
200.003 s90.9%
15
end
200.000 s0.6%
13
bool = false;
200.000 s0.1%
12
else
200.000 s0.1%
14
end
200.000 s0.1%
All other lines  0.000 s8.2%
Totals  0.004 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function15
Non-code lines (comments, blank lines)9
Code lines (lines that can run)6
Code lines that did run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
time 
Calls 
 line
   1 
function bool = isUIFigure(f)
   2 
%isUIFigure checks if the given figure is a java or web figure using 
   3 
% JavaFrame property.
   4 
% f is figure handle
   5 
% bool is output boolean value
   6 

   7 
% Copyright 2017 The MathWorks, Inc.
   8 

   9 
% if JavaFrame is empty, then this is a web figure.
  0.003 
     20 
  10
if ~isempty(f) && isempty(get(f,'JavaFrame_I')) 
  11 
    bool = true;
< 0.001 
     20 
  12
else 
< 0.001 
     20 
  13
    bool = false; 
< 0.001 
     20 
  14
end 
< 0.001 
     20 
  15
end