User`s guide
2 Getting Started with the Real-Time Workshop
2-20
Generic Real-Time Modules
These source modules are automatically linked by the makefile, model.mk.The
modules used to build this example are:
Figure 2-2: Source Modules Used to Build the Program
This diagram illustrates the code modules that are used to build a generic
real-time program.
Generated Code
f14.c
f14.h
grt_main.c
Main Program
rt_sim.c
Integration
Module
Model
Data Structure
simstruc.h
Executable File
ode5.c
f14[.exe]
Execution
Data Logger
rtwlog.c
Makefile
One of These
f14.mk
f14_export.h
Simulink
Template Makefiles:
grt_unix.tmf
grt_vc.tmf
grt_msvc.tmf
grt_watc.tmf
f14.prm
f14.reg