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

3 次查看(过去 30 天)
Hi,
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?
Cheers

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Real-Time 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by