This is a static copy of a profile report

Home

optimset>onDeprecationPathOptionCheck (78 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:10 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
optimsetfunction78
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
433
end
780 s0%
429
case 'initialhessmatrix'
780 s0%
426
case 'initialhesstype'
780 s0%
425
switch lowerCaseOption
780 s0%
424
if optimtbx
780 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 function15
Non-code lines (comments, blank lines)5
Code lines (lines that can run)10
Code lines that did run5
Code lines that did not run5
Coverage (did run/can run)50.00 %
Function listing
time 
calls 
 line
 419 
function onDeprecationPathOptionCheck(lowerCaseOption, optimtbx)
 420 
%ONDEPRECATIONPATHOPTIONCHECK Checks option against a list of options that
 421 
%are on a deprecation path. A specific warning message is thrown if there
 422 
%is a match.
 423 

     78 
 424 
if optimtbx 
     78 
 425 
    switch lowerCaseOption 
     78 
 426 
        case 'initialhesstype' 
 427 
            msgStr = getString(message('optim:options:Fminunc:PropertyToBeRemoved', 'InitialHessType'));
 428 
            warning('MATLAB:optimset:PropertyToBeRemoved', msgStr);
     78 
 429 
        case 'initialhessmatrix' 
 430 
            msgStr = getString(message('optim:options:Fminunc:PropertyToBeRemoved', 'InitialHessMatrix'));
 431 
            warning('MATLAB:optimset:PropertyToBeRemoved', msgStr);            
 432 
    end
     78 
 433 
end 

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