How can I solve this error : fminunc stopped because it exceeded the function evaluation limit, options. MaxFunEvals = 100 (the default value).
Show older comments
I am writing aMatlab code whish should use fminunc during it. After runing my code, this error appear, how can solve it?
2 Comments
Mischa Kim
on 15 Sep 2014
Please post the code and some info about the problem you are trying to solve.
sherrysherry
on 16 Sep 2014
Answers (1)
It is not an error. It is a message letting you know the code has finished running. But, you could try increasing MaxFunEvals with optimset() or optimoptions() to see if the solution improves.
1 Comment
sherrysherry
on 16 Sep 2014
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!