User`s guide
2 Installation and Configuration
2-12
The Real-Time Windows Target provides files to help Real-Time Workshop
generate C code from your Simulink model and compile that code to a real-time
executable:
•
System Target File (rtwin.tlc) — Defines the process of generating C code
for the Real-Time Windows Target.
•
Template Makefile and Makefile (rtwin.tmf, model_name.mk) — The
template makefile serves as a template for generating the real makefile,
which the make utility uses during model compilation. During the automatic
build procedure, the
make command extracts information from the template
makefile
rtwintmf.m and generates the makefile model_name.mk.
•
Make Command (make_rtw.m) — The standard make command supplied
with Real-Time Workshop.
Other files provided with the Real-Time Windows Target include
•
I/O drivers (*.rwd) — Binaries for I/O device drivers. The Real-Time
Windows Target does not link the driver object files with your real-time
executable. The drivers are loaded into memory and run by the kernel
separately.
•
Simulink external mode interface (rtwinext.dll) — MEX-file for
communicating between Simulink external mode and the Real-Time
Windows Target kernel.
Simulink external mode uses the MEX-file interface module to download
new parameter values to the real-time model and to retrieve signals from the
real-time model. You can display these signals in Simulink Scope blocks.
•
Kernel install and uninstall commands (rtwintgt.m, rtwho.m) — M-file
scripts to install and uninstall the Real-Time Windows Target kernel and
check installation.