This is a static copy of a profile reportHome
graphics/private/adjustbackground>color2matrix (432 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:20 using cpu time.
nested function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/private/adjustbackground.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
785 | end | 432 | 0 s | 0% |  |
781 | elseif isequal(color, 'flat' ) | 432 | 0 s | 0% |  |
778 | if isequal(color, 'none' ) | 432 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 6 |
Code lines that did run | 3 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 50.00 % |
Function listing
time | calls | line |
---|
| | 775 | function color = color2matrix( color )
|
| | 776 | %COLOR2MATRIX Return a 1x3 for any color, including strings 'flat' and 'none'
|
| | 777 |
|
| 432 | 778 | if isequal(color, 'none' )
|
| | 779 | color = NONE;
|
| | 780 |
|
| 432 | 781 | elseif isequal(color, 'flat' )
|
| | 782 | color = FLAT;
|
| | 783 |
|
| | 784 | end
|
| 432 | 785 | end
|
Other subfunctions in this file are not included in this listing.