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일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 7월 12일

답변:

2021년 7월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by