Constraint function in optimization toolbox
Afficher commentaires plus anciens
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 commentaires
Rik
le 30 Juin 2020
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
le 30 Juin 2020
Comment sent as email:
Can I send you an email with more details as the program is proprietary?
Rik
le 30 Juin 2020
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
le 30 Juin 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with Optimization Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!