How to get current time of simulation while Model is executing.
Show older comments
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.
Accepted Answer
More Answers (2)
Azzi Abdelmalek
on 3 Jan 2013
5 votes
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 Comments
ROHIT RAMTEKE
on 24 Mar 2018
Thanks a lot Sir....
Ed Joz
on 9 Jun 2018
This helped .. thank you sir
Suneesh
on 3 Jan 2013
0 votes
Categories
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!