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.2: Merging Function and Production Software Development

    Strategic enhancement of the dSPACE production code generator

    Read More

  • TargetLink Now Certified for ISO 25119

    TÜV SÜD (German international certification authority) confirms that TargetLink is suitable for the development of safety-relevant software in tractors and machines for agriculture and forestry.

    Read more

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

  • ZF Friedrichshafen: Handling High Numbers of Variants

    Efficient software development process for transmission ECUs with TargetLink

    Read more

  • New Prius: Toyota Relies on TargetLink

    Renovated control software development process with dSPACE TargetLink and BTC tools

    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

  • On-Target Bypassing with TargetLink

    In this webinar recording, dSPACE demonstrates how to perform automotive function development and prototyping with an early focus on production code constraints. By using the production code generator TargetLink together with dSPACE ECU interface software to use a production ECU for on-target bypassing, users can keep a clear production focus and reduce project risks.

    Read more


  • dSPACE TargetLink and SYNECT Bring Model-Based Development to a New Level

    In this free webinar, dSPACE demonstrates how to use model-based design, autocoding and model-based testing efficiently and smoothly. In large, distributed development teams with a high number of users, this is achieved by integrating dSPACE SYNECT, dSPACE’s data management and collaboration platform, with TargetLink, dSPACE’s MATLAB®/Simulink®-based production code generator.

    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.



The TargetLink AUTOSAR Module
The optional TargetLink AUTOSAR Module makes TargetLink’s modeling, simulation and code generation features available for designing AUTOSAR software components (SWCs).
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.

Further Information Support Training