How to get current time of simulation while Model is executing.
Mostrar comentarios más antiguos
I want to execute many test cases one by one. For this,I want to execute a test case after every 50 simulation seconds. For this I want to get simulation time data runtime. Thank you.
Respuesta aceptada
Más respuestas (2)
Azzi Abdelmalek
el 3 de En. de 2013
5 votos
You can use a clock block from simulink/sources with math function block (set to mod) and a constant block.

every 50s the output will be set to 0
2 comentarios
ROHIT RAMTEKE
el 24 de Mzo. de 2018
Thanks a lot Sir....
Ed Joz
el 9 de Jun. de 2018
This helped .. thank you sir
Suneesh
el 3 de En. de 2013
0 votos
Categorías
Más información sobre Modeling 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!