hide message for fmincon

24 vues (au cours des 30 derniers jours)
Rafael Schwarzenegger
Rafael Schwarzenegger le 23 Avr 2018
Commenté : Johnathan Faria le 28 Jan 2021
Hello,
I would like to hide the output message bellow for running the fuction fmincon.
Thank you very much.
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the default value of the optimality tolerance,
and constraints are satisfied to within the default value of the constraint tolerance.
<stopping criteria details>

Réponses (1)

Alan Weiss
Alan Weiss le 23 Avr 2018
Set the Display option to 'none'. Make sure to pass the options to fmincon.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 commentaire
Johnathan Faria
Johnathan Faria le 28 Jan 2021
THANKS, IT WORKED

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by