User`s guide

Real-Time Application
3-27
2 In the Simulation window, and from the Simulation menu, click Start
Real-Time Code
. You can also start the execution from the toolbar by
clicking .
Simulink runs the execution and plots the signal data in the Scope window.
In this example, the Scope window displays 1000 samples in 1 second,
increases the time offset, and then displays the samples for the next 1
second.
Note Transfer of data is less critical than calculating the signal outputs at
the selected sample interval. Therefore, data transfer runs at a lower priority
in the remaining CPU time after real-time application computations are
performed while waiting for another interrupt to trigger the next real-time
application update. The result may be a loss of data points displayed in the
Scope window.