This is a static copy of a profile report

Home

optimset>onOffType (26 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:11 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/optimfun/optimset.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
optimset>checkfieldsubfunction26
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
386
end
260 s0%
385
errmsg = '';
260 s0%
384
errid = '';
260 s0%
383
else
260 s0%
380
if ~valid
260 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)2
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
 377 
function [valid, errmsg, errid] = onOffType(field,value)
 378 
% One of these strings: on, off
     26 
 379 
valid =  ischar(value) && any(strcmp(value,{'on';'off'})); 
     26 
 380 
if ~valid 
 381 
    errid = 'MATLAB:optimset:notOnOffType';
 382 
    errmsg = getString(message(errid, field));
     26 
 383 
else 
     26 
 384 
    errid = ''; 
     26 
 385 
    errmsg = ''; 
     26 
 386 
end 

Other subfunctions in this file are not included in this listing.