This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...hImportOptionsSpreadsheet.executeImplclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
184
matlab.io.internal.utility.ass...
20.000 s56.9%
179
if isempty(params)
20.000 s18.6%
178
persistent params
20.000 s7.6%
185
end
20.000 s0.1%
183
end
20.000 s0.0%
All other lines  0.000 s16.8%
Totals  0.001 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
assertUnsupportedParamsForFileTypefunction20.000 s14.6%
Self time (built-ins, overhead, etc.)  0.000 s85.4%
Totals  0.001 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)1
Code lines (lines that can run)8
Code lines that did run5
Code lines that did not run3
Coverage (did run/can run)62.50 %
Function listing
time 
Calls 
 line
 177 
function checkWrongParamsWrongType(supplied)
< 0.001 
      2 
 178
persistent params 
< 0.001 
      2 
 179
if isempty(params) 
 180 
    getParams = @(me) string({me.PropertyList([me.PropertyList.Parameter]).Name});
 181 
    params = getParams(?matlab.io.internal.functions.ReadTableWithImportOptionsText);
 182 
    params = setdiff(params, getParams(?matlab.io.internal.shared.ReadTableInputs));
< 0.001 
      2 
 183
end 
< 0.001 
      2 
 184
matlab.io.internal.utility.assertUnsupportedParamsForFileType(params,supplied,'spreadsheet'); 
< 0.001 
      2 
 185
end 

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