This is a static copy of a profile report

Home

num2str>cellPrintf (Calls: 56, Time: 0.008 s)
Generated 16-Jul-2020 17:09:45 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/strfun/num2str.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
num2strfunction56
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
180
[cells, err, isLeft] = sprintf...
560.007 s90.4%
183
end
560.000 s2.8%
189
end
560.000 s0.9%
181
if ~isempty(err)
560.000 s0.1%
179
try
560.000 s0.0%
All other lines  0.000 s5.9%
Totals  0.008 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
185To pass MException properties to the warning function, use a format specifier. For example, warning(E.identifier, '%s', E.message).
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)1
Code lines (lines that can run)11
Code lines that did run6
Code lines that did not run5
Coverage (did run/can run)54.55 %
Function listing
time 
Calls 
 line
 178 
function [cells, isLeft] = cellPrintf(f, x, b)
< 0.001 
     56 
 179
    try 
  0.007 
     56 
 180
        [cells, err, isLeft] = sprintfc(f, x, b); 
< 0.001 
     56 
 181
        if ~isempty(err) 
 182 
            warning(message('MATLAB:num2str:badConversion', err));
< 0.001 
     56 
 183
        end 
 184 
    catch e
 185 
        warning(e.identifier, e.message);
 186 
        cells = {''};
 187 
        isLeft = false;
< 0.001 
     56 
 188
    end 
< 0.001 
     56 
 189
end 

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