Add an optimization algorithm to simulink

4 ビュー (過去 30 日間)
Hend Mostafa
Hend Mostafa 2022 年 4 月 22 日
コメント済み: Hend Mostafa 2022 年 4 月 24 日
how can I change this (fminsearch) optimizer to another optimization algorithm?
  3 件のコメント
Walter Roberson
Walter Roberson 2022 年 4 月 23 日
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 2022 年 4 月 24 日
Thank Youy

サインインしてコメントする。

採用された回答

Sam Chak
Sam Chak 2022 年 4 月 23 日
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.
  1 件のコメント
Hend Mostafa
Hend Mostafa 2022 年 4 月 24 日
Thanks a lot!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Design Optimization についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by