This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
createWorkbookfunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
108
if isempty(lib)
20.000 s54.2%
107
persistent lib;
20.000 s16.7%
115
end
20.000 s0.4%
114
end
20.000 s0.0%
All other lines  0.000 s28.6%
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 function10
Non-code lines (comments, blank lines)4
Code lines (lines that can run)6
Code lines that did run4
Code lines that did not run2
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.