This is a static copy of a profile report

Home

DetectImportOptions>validateScalarInt (Calls: 2, Time: 0.000 s)
Generated 04-Jun-2021 04:11:09 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\io\functions\+matlab\+io\+internal\+functions\DetectImportOptions.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...etectImportOptions.set.NumHeaderLinesclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
241
if ~(isnumeric(n) && i...
20.000 s66.6%
244
end
20.000 s0.5%
243
end
20.000 s0.0%
All other lines  0.000 s32.9%
Totals  0.000 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function5
Non-code lines (comments, blank lines)1
Code lines (lines that can run)4
Code lines that did run3
Code lines that did not run1
Coverage (did run/can run)75.00 %
Function listing
time 
Calls 
 line
 240 
function validateScalarInt(n)
< 0.001 
      2 
 241
if ~(isnumeric(n) && isscalar(n) && floor(n) == n && n >= 0) 
 242 
    error(message('MATLAB:textio:textio:ExpectedScalarInt'))
< 0.001 
      2 
 243
end 
< 0.001 
      2 
 244
end 

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