This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
SpreadsheetInputs>validateRangeclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
277
if nvars < inf && ~...
20.000 s72.2%
280
end
20.000 s0.2%
279
end
20.000 s0.0%
All other lines  0.000 s27.5%
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)2
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
 275 
function NumVars(propname,type,rangesize,nvars)
 276 
% must match the number of variables, be a start cell, be open-ended (cell/row), or a named range.
< 0.001 
      2 
 277
if nvars < inf && ~any(rangesize(2) == [nvars -1]) && ~strcmp(type,'single-cell') 
 278 
    error(message('MATLAB:spreadsheet:importoptions:VarNumberMismatch',propname));
< 0.001 
      2 
 279
end 
< 0.001 
      2 
 280
end 

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