This is a static copy of a profile report

Home

repmat>checkSizesType (Calls: 1616, Time: 0.003 s)
Generated 04-Jun-2021 04:11:11 using performance time.
subfunction in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\elmat\+matlab\+internal\+builtinhelper\repmat.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
repmatfunction1616
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
87
if ~(isnumeric(siz) || islogic...
16160.000 s13.3%
91
end
16160.000 s10.6%
89
elseif ~isreal(siz)
16160.000 s2.9%
All other lines  0.002 s73.3%
Totals  0.003 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 
   1616 
  87
if ~(isnumeric(siz) || islogical(siz)) 
  88 
    throwAsCaller(MException(message('MATLAB:repmat:nonNumericReplications')));
< 0.001 
   1616 
  89
elseif ~isreal(siz) 
  90 
    throwAsCaller(MException(message('MATLAB:repmat:complexReplications')));
< 0.001 
   1616 
  91
end 

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