User`s guide
Introduction
6-3
Third-party vendors supply additional targets for the Real-Time Workshop.
Generally, these can be classified as rapid prototyping targets. Consult The
MathWorks Web site (
http:/mathworks.com)orourConnections Catalog for
more information about third-party products.
You can identify the rapid prototyping style of generated code by using the
SimStruct data structure (i.e., #include "simstruc.h"). In contrast, the
embedded code style does not have a
SimStruct.
This chapter is divided into three sections. The first section discusses model
execution; the second section discusses the rapid prototyping style of code; and
the third section discusses the embedded style of code.
S-function Target Rapid prototyping — creates a C-MEX
S-function for simulation of your model
within another Simulink model.
Tornado (VxWorks)
Real-Time Target
Rapid prototyping — runs model in
real-time using the VxWorks real-time
operating system tasking primitives. Also
useful as a starting point for targeting a
real-time operating system.
Real-Time Windows Target Rapid prototyping — runs model in
real-time at ISR level while your PC is
running Microsoft Windows in the
background.
Ada Simulation Target Embedded — nonreal-time simulation on
your workstation using Ada. Useful for
validating the generated code on your
workstation.
Ada Multitasking Real-Time
Target
Embedded — uses Ada tasking primitives
to run your model in real-time. Useful as
a starting point when using the
generated Ada code in an embedded
application.
Table 6-1: Code Styles Listed By Target
Target Code Style (using C unless noted)