This is a static copy of a profile report

Home

mustBeValidGraphicsObject (Calls: 10, Time: 0.001 s)
Generated 16-Jul-2020 17:08:40 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/validators/+matlab/+internal/+validation/mustBeValidGraphicsObject.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...ractionContainer.InteractionContainerclass method10
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
out = is_valid_graphics_proper...
100.000 s53.0%
14
end
100.000 s1.4%
13
end   
100.000 s0.3%
11
if ~out
100.000 s0.2%
All other lines  0.000 s45.2%
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 function14
Non-code lines (comments, blank lines)9
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 mustBeValidGraphicsObject(input, cls)
   2 
% mustBeValidGraphicsObject is for internal use only and may be removed or
   3 
% modified at any time
   4 

   5 
% mustBeValidGraphicsObject(input, class) issues an error if input is not
   6 
% an empty double, a valid graphics handle or the specified input class
   7 
%
   8 
    
   9 
%   Copyright 2019 The MathWorks, Inc.
< 0.001 
     10 
  10
    out = is_valid_graphics_property(input, cls);  
< 0.001 
     10 
  11
    if ~out 
  12 
        throwAsCaller(MException('MATLAB:type:PropSetClsMismatch','%s',message('MATLAB:type:PropSetClsMismatch',cls).getString));
< 0.001 
     10 
  13
    end    
< 0.001 
     10 
  14
end