How can I pass a parameter to nonlcon used with fmincon

If nonlincon = @myConstrainedQuantity, how can I pass a parameter to myConstrainedQuantity?
The documentation shows only the x variable going in to that function.
Thanks

More Answers (0)

Community Treasure Hunt

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

Start Hunting!