This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
184 | matlab.io.internal.utility.ass... | 2 | 0.000 s | 56.9% |  |
179 | if isempty(params) | 2 | 0.000 s | 18.6% |  |
178 | persistent params | 2 | 0.000 s | 7.6% |  |
185 | end | 2 | 0.000 s | 0.1% |  |
183 | end | 2 | 0.000 s | 0.0% |  |
All other lines | | | 0.000 s | 16.8% |  |
Totals | | | 0.001 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
assertUnsupportedParamsForFileType | function | 2 | 0.000 s | 14.6% |  |
Self time (built-ins, overhead, etc.) | | | 0.000 s | 85.4% |  |
Totals | | | 0.001 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 9 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 8 |
Code lines that did run | 5 |
Code lines that did not run | 3 |
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.