This is a static copy of a profile reportHome
imuitools\private\imageDisplayParseInputs>checkDisplayRange (1 call, 0.000 sec)
Generated 15-Mar-2007 12:02:02 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\images\imuitools\private\imageDisplayParseInputs.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 |
311 | display_range = double(display... | 1 | 0 s | 0% |  |
306 | if display_range(2) <= disp... | 1 | 0 s | 0% |  |
302 | iptcheckinput(display_range, {... | 1 | 0 s | 0% |  |
297 | if numel(display_range) ~= 2 | 1 | 0 s | 0% |  |
293 | if isempty(display_range) | 1 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
iptcheckinput | MEX-function | 1 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
M-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 23 |
Non-code lines (comments, blank lines) | 10 |
Code lines (lines that can run) | 13 |
Code lines that did run | 5 |
Code lines that did not run | 8 |
Coverage (did run/can run) | 38.46 % |
Function listing
time calls line
291 function display_range = checkDisplayRange(display_range)
292
1 293 if isempty(display_range)
294 return
295 end
296
1 297 if numel(display_range) ~= 2
298 eid = sprintf('Images:%s:not2ElementVector',mfilename);
299 error(eid,'%s','[LOW HIGH] must be a 2-element vector.')
300 end
301
1 302 iptcheckinput(display_range, {'numeric'},...
303 {'real' 'nonsparse' 'vector'}, ...
304 mfilename, '[LOW HIGH]', 2);
305
1 306 if display_range(2) <= display_range(1)
307 eid = sprintf('Images:%s:badRangeValues', mfilename);
308 error(eid,'%s','HIGH must be greater than LOW.');
309 end
310
1 311 display_range = double(display_range);
312
313 %----------------------------------------------
Other subfunctions in this file are not included in this listing.