You use Simulink® accelerator mode to run a real-time simulation. This procedure uses the
sldrtex_model. To open this model, in the MATLAB Command
It assumes that you have loaded that model.
You cannot run a real-time simulation in Rapid Accelerator mode.
In the Simulink Editor, double-click the Scope block.
The Simulink software opens a Scope window with an empty graph.
On the Simulation tab, select Prepare > Accelerator simulation mode.
In your Simulink Desktop Real-Time™ model, set values for the Sample Time and Maximum Missed Ticks block parameters to prevent missed ticks.
To begin simulation, on the Simulation tab, click Run.
The Simulink software runs the simulation and plots the signal data in the Scope window.
To stop the simulation before it ends, on the Simulation tab, click Stop.
The real-time application stops running, and the Scope window stops displaying the output signals.