Slow down simulation time close to real time
Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller/Utilities
Place this block in your model to slow down the simulation time close to the real time. To specify the ratio between the actual time and the simulation time, use the time scaling factor parameter in the block.
The Real Time block will be deprecated in the next release of Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller. Instead, you can use the Simulation Pacing option in the Simulink Editor.
- Time Scaling Factor
Enter the time scaling factor to slow down the simulation speed to be close to the real-time.
For example, when you a enter a time scaling factor as 1, one simulation second runs in 1 second of real time. The simulation time is the same as real time.
When you enter a time scaling factor as 5, one simulation second runs in 5 seconds of real time. The simulation time is five times slower than real time.