Automatic production code generator

TargetLink is a software system that generates production code (C code) straight from the MATLAB®/Simulink/Stateflow graphical development environment.

  High-quality code generation from Simulink/Stateflow for mass production

  Powerful software design and testing features

Native AUTOSAR support deployed in millions of vehicles

Application Area

Model-based design has become the established development method across many industries. And production code generation is the logical step for turning models into efficient, production-ready code. TargetLink is a software system that generates production code (C code) straight from the MATLAB®/Simulink/Stateflow graphical development environment. Code generation options range from plain ANSI C code to optimized fixed- or floating-point code for certain processors. Versatile code configuration options ensure that the production code copes with processor constraints.

TargetLink Strengths

  • Proven in practice – In countless production projects and millions of vehicles
  • Best-in-class code - highly efficient, highly configurable and traceable
  • Powerful software design features with the TargetLink Data Dictionary
  • Software verification with great ease due to push-button MIL/SIL/PIL simulation concept
  • Ideal for automotive and similar industries
  • Strong partner tools for model design and validation & verification
  • Certification for ISO 26262, IEC 61508, and derivative standards
  • Workflow Document for DO-178C/DO-331 available

Functionality Overview

TargetLink Blockset

The TargetLink Blockset (stand-alone) is a license-free version of the TargetLink Blockset, which lets function developers design their controller models directly with TargetLink.

TargetLink Data Dictionary

The TargetLink Data Dictionary is a data container that centrally holds the relevant information for a model’s design, code generation, and implementation on an ECU. Data Dictionary objects can be referenced from TargetLink models. You can define and manage variables and corresponding properties, and you can specify structured data types and use them for variable declarations.

Simulation Modes for Testing

One of the advantages of model-based development is that you can use simulation for early verification. TargetLink not only generates code for production ECUs, it also greatly simplifies the testing process.

Autoscaling of Variables

If TargetLink® is to generate only floating-point code, autoscaling is not necessary. However, if TargetLink is used to generate fixed-point code, autoscaling can be a huge time-saver. What took days and weeks in the past can now be done in minutes and hours.

Efficient Coding

Efficiency is the key to production-quality code. Efficient code means that a minimum of execution time and resources is required to run the code on a cost-efficient embedded processor. Code generated by TargetLink is proven to be as efficient as handwritten code.

TargetLink Product Support Center

The TargetLink Product Support Center is the primary online resource for TargetLink developers and provides information about TargetLink releases, compatibility information, application notes, additional utilities, TargetLink Known Problem Reports, etc.


The TargetLink AUTOSAR Module

Developers can specify AUTOSAR structure elements, such as runnables, ports, and communication interfaces, simply at model level. 

TargetLink and DO-178C

dSPACE provides a workflow document that explains how to use TargetLink in a model-based tool chain for DO-178C-compliant projects.

Process Integration

Automated Document Generation

TargetLink® does not just generate code, it also automatically documents exactly what it does, in perfect consistency with the model and the code. Many of our customers find they save a lot of time by generating the documentation in this way. And what is more, the documentation is always up-to-date.

Third-Party Tools and Services for TargetLink

TargetLink has a range of complementary products and services that are typically used in a model-based design tool chain.

TargetLink Product information, PDF, English, 6876 KB