Real-Time Windows Target | ![]() ![]() |
Files on the Your Computer
When using Real-Time Windows Target, you may find it helpful to know where files are located:
directory - Simulink models (model.mdl
) and Real-Time Windows Target executable (model.rwd
)Note Select a working directory outside of the MATLAB root. See Initial Working Directory
model.c
, model.h
) are in a subdirectory called model_rtwin
.Real-Time Windows Target Files - The files included with the Real-Time Windows Target are located in the directory
matlabroot
\toolbox\rtw\targets\
rtwin
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.
rtwin.tlc
) - Defines the process of generating C code for Real-Time Windows Target.rtwintmf.m
, 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_rtw.m
) - The standard make
command supplied with the Real-Time Workshop.Other files provided with Real-Time Windows Target include:
*rwd
) - Binaries for I/O device drivers. 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.rtwinext.dll
) - MEX-file for communicating between Simulink's 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.
rtwintgt.m
, rtwho.m
) - M-file scripts to install and uninstall Real-Time Windows Target kernel and check installation.![]() | Installing from the Web | Initial Working Directory | ![]() |