fmincon output suppresion help

43 views (last 30 days)
Sean Zeeck
Sean Zeeck on 22 Apr 2015
Commented: Sean Zeeck on 23 Apr 2015
Hello,
I was wondering if fmincon had any option to suppress its output. I am running a large iterative loop and it can save me some time if it is not outputting to the command window. The output I receive is in the image below.
Thanks!

Accepted Answer

Sean de Wolski
Sean de Wolski on 22 Apr 2015
options = optimoptions('fmincon','display','none')
fmincon(etc...,options)
For more options:
doc optimoptions
  1 Comment
Sean Zeeck
Sean Zeeck on 23 Apr 2015
thanks! I am using options = optimset() for mine, but turns out optimset('display','off') works!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!