fminsearch options...supressing error messages

1 view (last 30 days)
How do I suppress the error mesage for "maximum iterations exceeded" when using fminsearch for optimization? I already tried using the options command to set Display to "off".

Answers (1)

Alan Weiss
Alan Weiss on 25 Aug 2020
Are you passing the options to fminsearch? Please show your fminsearch call and options creation call.
Alan Weiss
MATLAB mathematical toolbox documentation

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!