Add an optimization algorithm to simulink

4 visualizzazioni (ultimi 30 giorni)
how can I change this (fminsearch) optimizer to another optimization algorithm?
  3 Commenti
Walter Roberson
Walter Roberson il 23 Apr 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.

Accedi per commentare.

Risposta accettata

Sam Chak
Sam Chak il 23 Apr 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.

Più risposte (0)

Categorie

Scopri di più su Simulink Design Optimization in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by