number of iteration in Simulink

13 ビュー (過去 30 日間)
Mohamed
Mohamed 2021 年 7 月 12 日
回答済み: Kiran Felix Robert 2021 年 7 月 15 日
hello everybody
anyone know how to calculate the maximum and minimum iterations of the algorithms in simulink model?
I have my control algorithm built in simulink and I need to count the number of iteration during the running time.
thank you
Moh

回答 (1 件)

Kiran Felix Robert
Kiran Felix Robert 2021 年 7 月 15 日
Hi Mohamed,
Try using a Counter with a Trigger in the loop to count the number of iterations.
https://www.mathworks.com/help/dsp/ref/counter.html

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by