number of iteration in Simulink
显示 更早的评论
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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!