How can I pass a parameter to nonlcon used with fmincon

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

Accepted Answer

Walter Roberson
Walter Roberson on 22 Sep 2019

More Answers (0)

Categories

Find more on Nonlinear Control in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!