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!

 Réponse acceptée

Sean de Wolski
Sean de Wolski le 22 Avr 2015

0 votes

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

1 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by