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!

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 22 Apr. 2015

0 Stimmen

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

1 Kommentar

Sean Zeeck
Sean Zeeck am 23 Apr. 2015
thanks! I am using options = optimset() for mine, but turns out optimset('display','off') works!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by