Constraint function in optimization toolbox
显示 更早的评论
One of the variables in my model is Measured Power which is being calculated by an external black box model connected with MATLAB. The way its calculated is below:
4 个评论
Rik
2020-6-30
Why are you using so many globals? They should be avoided as much as possible anyway, and the function you posted is ignoring most of them, as well as the input.
Rik
2020-6-30
Comment sent as email:
Can I send you an email with more details as the program is proprietary?
Rik
2020-6-30
Since this isn't really my field I don't know if I can solve the actual problem. I just noticed the globals, which tend to be a bad sign.
Also, this forum is a hobby, private consultation is a job, and it isn't my job. There are plenty of people you could hire.
Hussain Ja
2020-6-30
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!