number of iteration in Simulink

13 visualizaciones (últimos 30 días)
Mohamed
Mohamed el 12 de Jul. de 2021
Respondida: Kiran Felix Robert el 15 de Jul. de 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
Moh

Respuestas (1)

Kiran Felix Robert
Kiran Felix Robert el 15 de Jul. de 2021
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

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by