Help using a class method as an objective function for fmincon does not work
显示 更早的评论
I want to use fmincon inside a class object, using a class method . When I try it I find that fmincon cannot see the function, even though the function is defined appropriately at the time of the call to fmincon. I wrote a test class to illustrate the problem which is attached.
test = testfmincon
min(test)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Choose a Solver 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!