How can i have a loop in every step time in Simulink?

2 ビュー (過去 30 日間)
fatemeh p
fatemeh p 2021 年 7 月 15 日
回答済み: Fangjun Jiang 2021 年 7 月 15 日
Hi
here is my simulink
As you see i want this program to solve a loop by adding 0.001 to gama_star in every loop to finally find the preferred gama_star for every step time which is 0.002 second but at the first loop it adds 0.001 and then goes to the next step time without finding the best gama_star for the previous step time.
Does anybody know how can i fix this problem?

採用された回答

Fangjun Jiang
Fangjun Jiang 2021 年 7 月 15 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by