This is a static copy of a profile reportHome
UsesWorksheet>UsesWorksheet.openSheet (Calls: 2, Time: 0.001 s)
Generated 04-Jun-2021 04:11:09 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\io\spreadsheet\+matlab\+io\+internal\+functions\UsesWorksheet.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 |
44 | obj.SheetObj = obj.WorkbookObj... | 2 | 0.000 s | 62.3% |  |
43 | if isempty(sheetNameOrNum) || ... | 2 | 0.000 s | 12.4% |  |
48 | end | 2 | 0.000 s | 0.5% |  |
47 | end | 2 | 0.000 s | 0.0% |  |
All other lines | | | 0.000 s | 24.7% |  |
Totals | | | 0.001 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 7 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 6 |
Code lines that did run | 4 |
Code lines that did not run | 2 |
Coverage (did run/can run) | 66.67 % |
Function listing
time | Calls | line |
---|
| | 42 | function openSheet(obj,sheetNameOrNum)
|
< 0.001 | 2 | 43 | if isempty(sheetNameOrNum) || numel(obj.WorkbookObj.SheetNames) == 1
|
< 0.001 | 2 | 44 | obj.SheetObj = obj.WorkbookObj.getSheet(1);
|
| | 45 | else
|
| | 46 | obj.SheetObj = obj.WorkbookObj.getSheet(sheetNameOrNum);
|
< 0.001 | 2 | 47 | end
|
< 0.001 | 2 | 48 | end
|
Other subfunctions in this file are not included in this listing.