User`s guide
Software Environment
1-11
Real-time execution — The Real-Time Windows Target provides the
necessary software that uses the real-time resources on your computer
hardware. Based on your selected sample rate, the Real-Time Windows Target
uses interrupts to step your application in real time at the proper rate. With
each new interrupt, the executable computes all of the block outputs from your
model.
Development Process
In the Real-Time Windows Target environment, you use your desktop PC with
MATLAB, Simulink, Real-Time Workshop, and the Real-Time Windows
Target to
1 Design a control system — Use MATLAB and the Control System Toolbox
to design and select the system coefficients for your controller.
2 Create a Simulink model — Use Simulink blocks to graphically model your
physical system.
3 Run a simulation in nonreal time — Check the behavior of your model
before you create a real-time application. For example, you can check the
stability of your model.
4 Create a real-time application — Real-Time Workshop generates C code
from your Simulink model. The Open Watcom C/C++ compiler compiles the
C code to an executable that runs with the Real-Time Windows Target
kernel.
5 Run an application in real time — Your desktop PC is the target computer
to run the real-time application.
6 Analyze and visualize signal data — Use MATLAB functions to plot data
saved to the MATLAB workspace or a disk.