For a better experience on, enable JavaScript in your browser. Thank you!


Automatic production code generator

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

  • New TargetLink Version 4.0

    Version 4.0 of dSPACE’s production code generator, TargetLink®, features a major improvement: support for matrix calculations. Control algorithms using state-space representation for highly complex applications, such as automotive Advanced Driver Assistance Systems (ADAS), can now be modeled efficiently with TargetLink®.
    TargetLink has been certified by TÜV SÜD for use with safety-related projects according to ISO 26262 and IEC 61508.

  • TargetLink for Aerospace

    With the DO-178C as the future relevant standard for the development of software in aviation, model-based design and automatic code generation will have a solid base for use in the aerospace sector. The document DO-331, Model-Based Development and Verification Supplement to DO-178C and DO-278A, which is also part of the standard, was written specifically for this.

  • Production Code Generation: Cooperation Between dSPACE and AbsInt

    AbsInt now a TargetLink partner
    aiT, StackAnalyzer and Astrée tools being coupled with TargetLink
    Automatic analysis configuration for more precise analysis results
    AbsInt Angewandte Informatik GmbH is now a cooperation partner for dSPACE GmbH and a member of the TargetLink Partner Program. The two companies are working together to couple AbsInt analysis tools – aiT, StackAnalyzer and Astrée – with the production code generator dSPACE TargetLink.

  • AUTOSAR implemented

    To optimize cooperation with the electronic control unit suppliers, PSA decided to make the development process for drivetrain ECUs AUTOSAR-compliant. To do this efficiently, PSA set up a tool chain that seamlessly supports elementary process steps from creating the architecture to actual implementation. Several AUTOSAR-compliant production projects have since been successfully completed.

  • Continuous software production

    The complexity of software systems in vehicles is increasing at the expense of the development of new innovative driver assistance functions. The EB Automotive Software Factory is the key to success because it implements recurring work processes as a production line for software.

    Read more

  • The Cutting Edge

    The new TS500i cut-off machine uses STIHL Injection, the first-ever batteryless, completely electronically controlled injection system for handheld power tools with a two-stroke engine on the market. STIHL used TargetLink and dSPACE real-time hardware to develop a flexible control unit that ensures easy startup and optimum engine control under rough conditions.

    Read more

  • "The TargetLink Ecosystem" - Early Detection of Run-Time Errors and Resource Problems

    This webinar focuses on efficient and integrated verification of non-functional requirements for production code and object code. The static analyzers from AbsInt are used to compute worst-case execution time/stack usage and to detect run-time errors and can be invoked automatically from TargetLink models. This leads to a small analysis configuration effort and to more precise analysis results.

    Read More

  • “Large-Scale Model-Based Software Development”

    Model-based design and automatic code generation have been used for many years to successfully develop software for control functions. Now the next evolutionary step is to use these techniques on a wide front to develop extensive functionalities in work groups that consist of a high number of software developers from various different development partners. This modular distributed development can be accomplished efficiently on a large scale with a Simulink/TargetLink-based tool chain, as this webinar will demonstrate.

    Read more

  • "The TargetLink Ecosystem" – Automated Guideline Checking and Model Analysis

    This webinar focuses on automated guideline checking and model analysis with the MES Model Examiner and MES M-XRAY to ensure transparent and easily inspectable TargetLink models.

    Read more

  • Solving the complexity puzzle

    More and more extensive functionalities are being developed in work groups that consist of a large number of software developers from various development partners – a great challenge for the development process. A reliable tool chain for efficient, model-based software development is therefore crucial. Simulink/TargetLink and the tools by Model Engineering Solutions provide a tailor-made solution.

    Read more

  • Safely Excluding Serious Errors

    In model-based development, software is developed at a high level of abstraction, i.e., as a model, and the C code implementation is automatically generated from the model. The high degree of abstraction allows intuitive application development and increases the efficiency of development. However, to verify system safety, it is not enough to regard only the model level; the properties of the C code and even of the binary machine code also have to be investigated.

    Read more

  • Fully Automatic Validation of Simulink/TargetLink Version Changes

    New product versions or modified IT infrastructures invariably mean that existing models and functions have to be migrated to a new version of MATLAB®, TargetLink® or Windows®. BTC Embedded Systems AG, a TargetLink Strategic Partner, provides an easy, highly integrated and completely automated solution: the BTC EmbeddedTester Migration Suite.

    Read more

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


TargetLink Blockset
Block library for implementation-specific information to prepare a model for implementation.
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.