Add an optimization algorithm to simulink
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/973785/image.png)
how can I change this (fminsearch) optimizer to another optimization algorithm?
3 commentaires
Walter Roberson
le 23 Avr 2022
Your diagram does not appear to include any optimization block. The block you circled looks to me as if it is a root finding block.
Réponse acceptée
Sam Chak
le 23 Avr 2022
Please follow the example here:
https://www.mathworks.com/help/physmod/sps/ug/battery-parameter-extraction-from-data.html#d123e30675
Find the m-file
edit ee_battery_opt_m
and you can copy the script and replace the fminsearch() function with your desired optimizer.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!