This is a static copy of a profile report

Home

num2str>handleNumericPrecision (2 calls, 0.000 sec)
Generated 05-Aug-2011 13:00:41 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/strfun/num2str.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
num2strfunction2
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
199
end
20 s0%
192
f = '';
20 s0%
191
forceWidth = 0;
20 s0%
190
s = convertUsingRecycledSprint...
20 s0%
189
if isreal(x)
20 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
num2str>convertUsingRecycledSprintfsubfunction20 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
No Code Analyzer messages.
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 run5
Code lines that did not run6
Coverage (did run/can run)45.45 %
Function listing
   time   calls  line
188 function [s, forceWidth, f] = handleNumericPrecision(x, precision)
2 189 if isreal(x)
2 190 s = convertUsingRecycledSprintf(x, precision);
2 191 forceWidth = 0;
2 192 f = '';
193 else
194 floatFieldExtra = 6;
195 s = '';
196 forceWidth = precision+floatFieldExtra;
197 f = sprintf('%%.%dg', precision);
198 end
2 199 end

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