fmincon output suppresion help

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

options = optimoptions('fmincon','display','none')
fmincon(etc...,options)
For more options:
doc optimoptions

1 Comment

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!