This is a static copy of a profile reportHome
legendcolorbarlayout>location_to_xy_index (2 calls, 0.000 sec)
Generated 28-Feb-2011 19:18:46 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/legendcolorbarlayout.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 |
1075 | ind = vals.(locstr); | 2 | 0 s | 0% |  |
1074 | end | 1 | 0 s | 0% |  |
1073 | vals.manual = [0,0]; | 1 | 0 s | 0% |  |
1072 | vals.none = [0,0]; | 1 | 0 s | 0% |  |
1071 | vals.BestOutside = [0,0]; | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 24 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 23 |
Code lines that did run | 23 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1052 function ind = location_to_xy_index(locstr)
2 1053 persistent vals;
2 1054 if isempty(vals)
1 1055 vals.NorthOutside = [3,1];
1 1056 vals.NorthWestOutside = [1,2];
1 1057 vals.NorthWest = [2,2];
1 1058 vals.North = [3,2];
1 1059 vals.NorthEast = [4,2];
1 1060 vals.NorthEastOutside = [5,2];
1 1061 vals.WestOutside = [1,3];
1 1062 vals.West = [2,3];
1 1063 vals.East = [4,3];
1 1064 vals.EastOutside = [5,3];
1 1065 vals.SouthWestOutside = [1,4];
1 1066 vals.SouthWest = [2,4];
1 1067 vals.South = [3,4];
1 1068 vals.SouthEast = [4,4];
1 1069 vals.SouthEastOutside = [5,4];
1 1070 vals.SouthOutside = [3,5];
1 1071 vals.BestOutside = [0,0];
1 1072 vals.none = [0,0];
1 1073 vals.manual = [0,0];
1 1074 end
2 1075 ind = vals.(locstr);
Other subfunctions in this file are not included in this listing.