This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
optimset>checkfieldsubfunction1720
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
348
errid = '';
17200.011 s33.3%
341
valid =  ischar(value) &&a...
17200.011 s33.3%
350
end
17200 s0%
349
errmsg = '';
17200 s0%
347
else
17200 s0%
All other lines  0.011 s33.3%
Totals  0.033 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)4
Code lines (lines that can run)8
Code lines that did run6
Code lines that did not run2
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.