Add an optimization algorithm to simulink

how can I change this (fminsearch) optimizer to another optimization algorithm?

3 commentaires

Hend Mostafa
Hend Mostafa le 23 Avr 2022
Can anyone answer me?
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.
Hend Mostafa
Hend Mostafa le 24 Avr 2022
Thank Youy

Connectez-vous pour commenter.

 Réponse acceptée

Sam Chak
Sam Chak le 23 Avr 2022
Please follow the example here:
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)

Catégories

En savoir plus sur Simulink Design Optimization dans Centre d'aide et File Exchange

Produits

Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by