| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Windows Target |
| Contents | Index |
| Learn more about Real-Time Windows Target |
You can install Real-Time Windows Target software as part of the regular installation process documented in MathWorks™ installation guides. This section describes installed files that are unique to Real-Time Windows Target software. When using the product, you may find it helpful to know where these files are located.
MATLAB working directory — Simulink models (model.mdl) and the Real-Time Windows Target executable (model.rwd)
Note Select a working directory outside the MATLAB root. See Initial Working Directory. |
Real-Time Workshop project directory — The Real-Time Workshop C-code files (model.c, model.h) are in a subdirectory called model_rtwin.
Real-Time Windows Target Files — The files included with Real-Time Windows Target software are located in the directory
matlabroot\toolbox\rtw\targets\rtwin
Open Watcom C/C++ compiler directory — The Open Watcom C/C++ compiler files are located in a subdirectory called openwat.
Real-Time Windows Target software provides files to help Real-Time Workshop code generation software create 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 by Real-Time Windows Target software.
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 code generation software.
Other files provided with Real-Time Windows Target software include
I/O drivers (*.rwd) — Binaries for I/O device drivers. Real-Time Windows Target software 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.mex*) — 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.
![]() | System Requirements | Initial Working Directory | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |