How can I pass a parameter to nonlcon used with fmincon

7 visualizzazioni (ultimi 30 giorni)
If nonlincon = @myConstrainedQuantity, how can I pass a parameter to myConstrainedQuantity?
The documentation shows only the x variable going in to that function.
Thanks

Risposta accettata

Walter Roberson
Walter Roberson il 22 Set 2019

Più risposte (0)

Categorie

Scopri di più su Nonlinear Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by