User`s guide
Basic Concepts in the Real-Time Workshop
2-9
target environments and the system target files and template makefiles
associated with each example environment:
For a complete list of available targets, see “Targets Available from the System
Target File Browser” on page 3-13. For a comparison of various targets, see
Chapter 12, “Configuring Real-Time Workshop for Your Application.”
Target Language Compiler Files
Target Language Compiler files or TLC files, which are files that the Target
Language Compiler compiles and executes, describe how to create code for your
target. The Real-Time Workshop uses TLC files to translate your Simulink
model into code.
The system target file is the entry point for the TLC program that creates the
executable. The block target files define how the code looks for each of the
Simulink blocks in your model.
The Build Process
The Real-Time Workshop build process is controlled by make_rtw,whichis
invokedwhenyouclickonthe
Build button of the Real-Time Workshop page
of the
Simulation Parameters dialog box. First, make_rtw compiles the block
diagram and generates a
model.rtw file. Next, make_rtw invokes the Target
Language Compiler to generate the code. You must specify the system target
file on the Real-Time Workshop page for the Target Language Compiler. Then
make_rtw creates a makefile, model.mk, from the template makefile specified in
Table 2-1: Target Systems and Associated Support Files
Target System Target
File
Template Makefile
Generic real-time
grt.tlc grt_default.tmf
Embedded-C
ert.tlc ert_default.tmf
DOS (4GW) real-time
drt.tlc drt_watc.tmf
Tornado (VxWorks) real-time
tornado.tlc tornado.tmf
Rapid Simulation
rsim.tlc rsim_default.tmf