This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...rtOptionsSpreadsheet.getOptsFromSheetclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
204
if supplied.RowNamesRange,    ...
20.000 s24.2%
200
if supplied.DataRange,        ...
20.000 s14.3%
201
if supplied.VariableNamesRange...
20.000 s12.4%
202
if supplied.VariableUnitsRange...
20.000 s11.7%
203
if supplied.VariableDescriptio...
20.000 s11.5%
All other lines  0.000 s26.0%
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 function7
Non-code lines (comments, blank lines)1
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 199 
        function opts = setFileProps(func,supplied,opts)
< 0.001 
      2 
 200
            if supplied.DataRange,                  opts.DataRange = func.DataRange;end 
< 0.001 
      2 
 201
            if supplied.VariableNamesRange,         opts.VariableNamesRange = func.VariableNamesRange;end 
< 0.001 
      2 
 202
            if supplied.VariableUnitsRange,         opts.VariableUnitsRange = func.VariableUnitsRange;end 
< 0.001 
      2 
 203
            if supplied.VariableDescriptionsRange,  opts.VariableDescriptionsRange = func.VariableDescriptionsRange;end 
< 0.001 
      2 
 204
            if supplied.RowNamesRange,              opts.RowNamesRange = func.RowNamesRange;end 
< 0.001 
      2 
 205
        end 

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