number of iteration in Simulink

26 views (last 30 days)
Mohamed on 12 Jul 2021
Answered: Kiran Felix Robert on 15 Jul 2021
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

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 15 Jul 2021
Hi Mohamed,
Try using a Counter with a Trigger in the loop to count the number of iterations.


Find more on Modeling in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!