Error code : Error using optimoptions (line 105)?

2 views (last 30 days)
when I enter the following command :
options = optimoptions('fminunc','Algorithm','trust-region','SpecifyObjectiveGradient',true);
Matlab displays the following error :
Error using optimoptions (line 105)
'SpecifyObjectiveGradient' is not an option for FMINUNC.
A list of options can be found on the FMINUNC documentation page.
I don't know this origin?
Thanks!

Accepted Answer

Walter Roberson
Walter Roberson on 7 Jul 2016

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!