MATLAB Answers


How to use real-time variable without slowing down the simulation

Asked by Bart
on 10 Dec 2015
Latest activity Commented on by Madhu Govindarajan on 17 Dec 2015
I need to include time to refer to in my simulation, but since the simulation itself runs way faster than real-time i cannot use the standard clock block. I'm aware there are lots of solutions that slow down your simulation to near real-time by putting load on the cpu or pausing the simulation to compensate for the simulation speed, but i'd like to avoid that. Is it also possible to use a real clock that runs up with the actual seconds that the simulation runs?

0 Answers