This is a static copy of a profile report

Home

savtoner>matrix2color (304 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:38 using cpu time.
nested function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/savtoner.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
savtonerfunction304
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
552
elseif isequal(isnan(color), i...
3040.011 s100.0%
556
end
3040 s0%
549
if isequal(isnan(color), isnan...
3040 s0%
All other lines  0 s0%
Totals  0.011 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function11
Non-code lines (comments, blank lines)5
Code lines (lines that can run)6
Code lines that did run3
Code lines that did not run3
Coverage (did run/can run)50.00 %
Function listing
   time   calls  line
546 function color = matrix2color( color )
547 %MATRIX2COLOR Return a Color-spec for any a 1x3, possibly encoded for 'flat' and 'none'.
548
304 549 if isequal(isnan(color), isnan(NONE) )
550 color = 'none';
551
0.01 304 552 elseif isequal(isnan(color), isnan(FLAT) )
553 color = 'flat';
554
555 end
304 556 end

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