This is a static copy of a profile reportHome
createWorkbook>initLibrary (Calls: 2, Time: 0.000 s)
Generated 04-Jun-2021 04:11:08 using performance time.
subfunction in file C:\Program Files\MATLAB\R2020b\toolbox\shared\spreadsheet\+matlab\+io\+spreadsheet\+internal\createWorkbook.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 |
108 | if isempty(lib) | 2 | 0.000 s | 54.2% |  |
107 | persistent lib; | 2 | 0.000 s | 16.7% |  |
115 | end | 2 | 0.000 s | 0.4% |  |
114 | end | 2 | 0.000 s | 0.0% |  |
All other lines | | | 0.000 s | 28.6% |  |
Totals | | | 0.000 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 10 |
Non-code lines (comments, blank lines) | 4 |
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 |
---|
| | 106 | function initLibrary
|
< 0.001 | 2 | 107 | persistent lib;
|
< 0.001 | 2 | 108 | if isempty(lib)
|
| | 109 | % initialize the library resources
|
| | 110 | matlab.io.spreadsheet.internal.initialize();
|
| | 111 |
|
| | 112 | % close on clear; function will re-init
|
| | 113 | lib = onCleanup(@matlab.io.spreadsheet.internal.uninitialize);
|
< 0.001 | 2 | 114 | end
|
< 0.001 | 2 | 115 | end
|
Other subfunctions in this file are not included in this listing.