This is a static copy of a profile report

Home

repmat>checkSizesType (Calls: 1, Time: 0.000 s)
Generated 18-May-2021 16:05:23 using performance time.
subfunction in file /usr/local/MATLAB/R2021a/toolbox/matlab/elmat/+matlab/+internal/+builtinhelper/repmat.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
repmatfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
87
if ~(isnumeric(siz) || islogic...
10.000 s57.7%
91
end
10.000 s0.4%
89
elseif ~isreal(siz)
10 s0%
All other lines  0.000 s41.9%
Totals  0.000 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function6
Non-code lines (comments, blank lines)1
Code lines (lines that can run)5
Code lines that did run3
Code lines that did not run2
Coverage (did run/can run)60.00 %
Function listing
time 
Calls 
 line
  86 
function siz = checkSizesType(siz)
< 0.001 
      1 
  87
if ~(isnumeric(siz) || islogical(siz)) 
  88 
    throwAsCaller(MException(message('MATLAB:repmat:nonNumericReplications')));
      1 
  89
elseif ~isreal(siz) 
  90 
    throwAsCaller(MException(message('MATLAB:repmat:complexReplications')));
< 0.001 
      1 
  91
end 

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