| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop |
| Contents | Index |
| Learn more about Real-Time Workshop |
The following table lists supported system target files and their associated code formats. The table also gives references to relevant manuals or chapters in this book. All of these targets are built using the make_rtw make command.
Note You can select any target of interest using the System Target File Browser. This allows you to experiment with configuration options and save your model with different configurations. However, you cannot build or generate code for non-GRT targets unless you have the appropriate license on your system (Real-Time Workshop Embedded Coder license for ERT, Real-Time Windows Target license for RTWIN, and so on). |
Each system target file invokes one or more template makefiles. The template makefile that is invoked activates a particular compiler (for example, Lcc, gcc, or Watcom compilers). This is specified for you by MEXOPTS, which is determined when you run mex -setup to select a compiler for mex. One exception is the Microsoft Visual C++ project target, which has separate System Target File Browser entries.
Targets Available from the System Target File Browser
Target/Code Format | System Target File | Template Makefile and Comments | Reference |
|---|---|---|---|
Real-Time Workshop Embedded Coder (for PC or UNIX[a] platforms) | ert.tlc | ert_default_tmf Use mex -setup to configure for Lcc, Watcom, vc, gcc, and other compilers | |
Real-Time Workshop Embedded Coder for Visual C++[b] Project Makefile | ert.tlc | ert_msvc.tmf Creates a makefile which can be loaded into the Visual C++ IDE | |
Real-Time Workshop Embedded Coder for Tornado (VxWorks)[c] | ert.tlc | ||
Real-Time Workshop Embedded Coder for AUTOSAR | autosar.tlc | ert_default_tmf | |
Generic Real-Time for PC or UNIX platforms | grt.tlc | grt_default_tmf Use mex -setup to configure for Lcc, Watcom, vc, gcc, and other compilers | |
Generic Real-Time for Visual C++ Project Makefile | grt.tlc | ||
Generic Real-Time (dynamic) for PC or UNIX platforms | grt_malloc.tlc | grt_malloc_default_ Use mex -setup to configure for Lcc, Watcom, vc, gcc, and other compilers Does not support SimStruct. | |
Generic Real-Time (dynamic) for Visual C++ Project Makefile | grt_malloc.tlc | Does not support SimStruct. | |
Rapid Simulation Target (default for PC or UNIX platforms) | rsim.tlc | rsim_default_tmf Use mex -setup to configure | Testing and Refining Concept Models With Standalone Rapid Simulations |
Rapid Simulation Target for LCC compiler | rsim.tlc | Testing and Refining Concept Models With Standalone Rapid Simulations | |
Rapid Simulation Target for UNIX platforms | rsim.tlc | Testing and Refining Concept Models With Standalone Rapid Simulations | |
Rapid Simulation Target for Visual C++ compiler | rsim.tlc | Testing and Refining Concept Models With Standalone Rapid Simulations | |
Rapid Simulation Target for Watcom compiler | rsim.tlc | Testing and Refining Concept Models With Standalone Rapid Simulations | |
S-Function Target for PC or UNIX platforms | rtwsfcn.tlc | Use mex -setup to configure | Creating Component Object Libraries and Enhancing Simulation Performance |
S-Function Target for LCC | rtwsfcn.tlc | Creating Component Object Libraries and Enhancing Simulation Performance | |
S-Function Target for UNIX platforms | rtwsfcn.tlc | Creating Component Object Libraries and Enhancing Simulation Performance | |
S-Function Target for Visual C++ compiler | rtwsfcn.tlc | Creating Component Object Libraries and Enhancing Simulation Performance | |
S-Function Target for Watcom | rtwsfcn.tlc | Creating Component Object Libraries and Enhancing Simulation Performance | |
Tornado (VxWorks) Real-Time Target | tornado.tlc | ||
ASAM-ASAP2 Data Definition Target | asap2.tlc | ||
Real-Time Windows Target for Open Watcom | rtwin.tlc | ||
xPC Target for Visual C++ or Watcom C/C++ compilers | xpctarget.tlc | xpc_default_tmf | |
| Target Support Package | mpc555exp.tlc | mpc555exp.tmf | |
Target Support Package | c166.tlc | Target Support Package documentation | |
Target Support Package | ccslink_grt.tlc | N/A [e] | |
Target Support Package | ccslink_grt.tlc (GRT) | N/A [g] | |
[a] UNIX is a registered trademark of The Open Group in the United States and other countries. [b] Visual C++ is a registered trademark of Microsoft Corporation. [c] Tornado and VxWorks are registered trademarks of Wind River Systems, Inc. [d] ti_c2000_grt.tlc (GRT) and ti_c2000_ert.tlc are provided for backward compatibility [e] ti_c2000_grt.tmf (GRT) and ti_c2000_ert.tmf are provided for backward compatibility [f] ti_c6000.tlc (GRT) and ti_c6000_ert.tlc are provided for backward compatibility [g] ti_c6000.tmf (GRT) and ti_c6000_ert.tmf are provided for backward compatibility | |||
When you try to build models with a nonzero start time, if the selected target does not support a nonzero start time, the Real-Time Workshop software does not generate code and displays an error message. The Rapid Simulation (RSim) target supports a nonzero start time when the Configuration Parameters > RSim Target > Solver selection parameter is set to Use Simulink solver module. All other targets do not support a nonzero start time.
[a] UNIX is a registered trademark of The Open Group in the United States and other countries.
[b] Visual C++ is a registered trademark of Microsoft Corporation.
[c] Tornado and VxWorks are registered trademarks of Wind River Systems, Inc.
[d] ti_c2000_grt.tlc (GRT) and ti_c2000_ert.tlc are provided for backward compatibility
[e] ti_c2000_grt.tmf (GRT) and ti_c2000_ert.tmf are provided for backward compatibility
[f] ti_c6000.tlc (GRT) and ti_c6000_ert.tlc are provided for backward compatibility
[g] ti_c6000.tmf (GRT) and ti_c6000_ert.tmf are provided for backward compatibility
![]() | Types of Target Code Formats | Selecting a Target | ![]() |

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