This is a static copy of a profile reportHome
optimset>displayType (1720 calls, 0.033 sec)
Generated 05-Aug-2011 13:03:53 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/funfun/optimset.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
348 | errid = ''; | 1720 | 0.011 s | 33.3% |  |
341 | valid = ischar(value) &&a... | 1720 | 0.011 s | 33.3% |  |
350 | end | 1720 | 0 s | 0% |  |
349 | errmsg = ''; | 1720 | 0 s | 0% |  |
347 | else | 1720 | 0 s | 0% |  |
All other lines | | | 0.011 s | 33.3% |  |
Totals | | | 0.033 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 8 |
Code lines that did run | 6 |
Code lines that did not run | 2 |
Coverage (did run/can run) | 75.00 % |
Function listing
time calls line
339 function [valid, errmsg, errid] = displayType(field,value)
340 % One of these strings: on, off, none, iter, final, notify
0.01 1720 341 valid = ischar(value) && any(strcmp(value, ...
342 {'on';'off';'none';'iter';'iter-detailed';'final';'final-detailed';'notify';'notify-detailed';'testing';'simplex'}));
1720 343 if ~valid
344 errid = 'MATLAB:funfun:optimset:displayType:notADisplayType';
345 errmsg = sprintf(['Invalid value for OPTIONS parameter %s: must be ''off'',''on'',''iter'',\n', ...
346 '''iter-detailed'',''notify'',''notify-detailed'',''final'', or ''final-detailed''.'],field);
1720 347 else
0.01 1720 348 errid = '';
1720 349 errmsg = '';
1720 350 end
Other subfunctions in this file are not included in this listing.