| Real-Time Windows Target | ![]() |
Entering Simulation Parameters for Simulink
The simulation parameters give information to Simulink for running a simulation.
After you create a Simulink model, you can enter the simulation parameters for Simulink. This procedure uses the Simulink model rtwin_model.mdl as an example and assumes you have already loaded that model:
0.0. In the Stop time box, enter the amount of time you want your model to run. For example, enter 10.0 seconds.
Fixed-step. Real-Time Workshop does not support variable step solvers.
ode5 (Dormand-Prince).
0.001 seconds for a sample rate of 1000 samples/second.
SingleTasking. For models with blocks that have different sample times, choose MultiTasking.
| Creating a Simulink Model | Entering Scope Parameters for Signal Tracing | ![]() |