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.