Obtaining Simulink Model execution loop rate with Simulink Profiler
Mostrar comentarios más antiguos
I was wondering what might be the best way to obtain the execution loop rate of my simulink model?
The method I am currently doing is by using Simulink profiler and then utilizing the Total time divided by the number of callbacks to get an approximation to my loop rate.

For instance, in the above profiling session, ALUA_sim is the top level model, and using the above formula:
20.861/60971=0.00034214626s
I obtained 0.34ms loop rate (~3kHz). Would this be a reasonable approach?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!