How can I pass a parameter to nonlcon used with fmincon

6 Ansichten (letzte 30 Tage)
If nonlincon = @myConstrainedQuantity, how can I pass a parameter to myConstrainedQuantity?
The documentation shows only the x variable going in to that function.
Thanks

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 22 Sep. 2019

Weitere Antworten (0)

Kategorien

Mehr zu Nonlinear Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by