How can I pass a parameter to nonlcon used with fmincon

6 次查看(过去 30 天)
If nonlincon = @myConstrainedQuantity, how can I pass a parameter to myConstrainedQuantity?
The documentation shows only the x variable going in to that function.
Thanks

采纳的回答

Walter Roberson
Walter Roberson 2019-9-22

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Nonlinear Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by