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.

  • TargetLink 4.1: FMI Support, AUTOSAR 4.2, Automotive Ethernet, and Much More

    With its latest Release, dSPACE has optimized its production code generator, TargetLink, to cover prominent standards in the development of embedded software. 

  • 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.

  • Smooth Success

    Before they developed their new tractor transmission, CLAAS Industrietechnik (CIT) did not have any experience in model-based software development. In the end, the product surpassed even their highest expectations. Part of this success story: the powerful tools from dSPACE.

    Read more

  • Electric and Safe

    Together with the TargetLink Strategic Partner Model Engineering Solutions, Mercedes-Benz Research & Development North America developed automatically testable conformity rules for modeling with dSPACE TargetLink, which comply with important requirements of the ISO 26262 standard.

    Read more

  • Automated assistance functions for more harvesting efficiency

    A new assistance system for CLAAS combine harvesters permanently monitors the harvesting process and automatically adjusts the machine settings to the current conditions – faster and more exactly than an operator ever could.

    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

  • Mastering DO-178C Using Model-Based Design and Autocoding

    Model-based design and automatic code generation are the most efficient methods for developing embedded system software and complying with the requirements of DO-178C. dSPACE’s modern code generator, TargetLink®, and its associated tool chain provide a unique development environment for embedded systems that will have an immediate impact on your software quality, process efficiency, and the certification process. Attend this webinar to learn more! 

    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.


Further Information Support Training