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


Production code generation for the highest demands

The production code generator TargetLink generates highly efficient C code straight from MATLAB®/Simulink®/Stateflow® and allows early verification through built-in simulation and testing. It supports efficient, modular development, is ISO 26262-, ISO 25119- and IEC 61508-certified, and provides high-performance, native AUTOSAR support. 

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

  • SAME: Innovative Front Wheel Suspension for Specialty Tractors

    Production code generated with TargetLink

    Read more

  • Jaguar Land Rover: Virtual Validation

    TargetLink for software component (SWC) development and production code generation

    Read more

  • New Prius: Toyota Relies on TargetLink

    Renovated control software development process with dSPACE TargetLink and BTC tools

    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 generates production code (C code) straight from the MATLAB®/Simulink/Stateflow graphical development environment. The C code generation options range from plain ANSI C code to optimized fixed- or floating-point code for AUTOSAR platforms. Versatile code configuration options ensure that the production code can handle processor constraints. 

Key Benefits

With TargetLink, you can convert graphical models directly and deterministically into highest quality production code. Benefit from TargetLink’s numerous strenghths, such as:

  • Tool and code proven in practice – in countless production projects and millions of vehicles
  • Best-in-class code – highly efficient, highly configurable and with fully traceable model/code dependency
  • Powerful software design features, e.g., with the TargetLink Data Dictionary
  • Convenient software verification due to the push-button model-in-the-loop (MIL)/software-in-the-loop (SIL)/processor-in-the-loop (PIL) simulation concept – verify your concepts and code early and avoid expensive ECU software errors
  • Ideal for automotive and other industries 
  • Suitable for AUTOSAR and non-AUTOSAR projects
  • Strong partner tools (TargetLink Ecosystem) for model design, validation, and verification
  • Certification for ISO 26262, ISO 25119, and IEC 61508 and derivative standards
  • Tool integration with the data management software SYNECT®, the simulation software VEOS, and the system architecture software SystemDesk®
  • Perfect for on-target bypassing together with dSPACE’s ECU interface software – closing the gap between function and production development

Main Features and Benefits


Feature Description Benefit

Code efficiency

  • Efficient fixed-point or floating-point production code directly from MATLAB/Simulink/Stateflow
  • Your specifications models and diagrams are directly translated into efficient C code
Code reliability
  • Consistent, deterministic translations of models into stress-tested C code
  • Errors such as typing errors, oversights, misunderstandings are avoided
Human readability
  • Concise, yet readable code
  • Code reviews are easy to perform
Automatic scaling
  • Intelligent scaling based on worst-case propagation of signal ranges and simulation-based scaling
  • Shortens the time-consuming and error-prone scaling process
Test mechanisms
  • Various test levels to test the production code against the specification (MIL, SIL, PIL)
  • Malfunctions are found at the earliest stage
Incremental code generation
  • Modular code generation, i.e., for specific subsystems
  • Faster code generation, preserving approved code
Model referencing support
  • Developing models on a modular/component basis
  • Distributed development by large teams is much easier, and large models can be handled more efficiently.
Multirate code
  • Full support of multirate systems with intertask communication
  • You can define tasks at block level
TargetLink Data Dictionary
  • Central container to handle variables, data structures, scaling formulas, tasks, functions
  • You can manage complex data to plan and structure your projects
Code generation straight from the Data Dictionary
  • Generation of code files and A2L files for Data Dictionary variables independently of their use in TargetLink models
  • Simplified software integration and integration testing for code from multiple TargetLink models/subsystems and legacy variables
TargetLink Blockset
  • The free TargetLink Blockset (stand-alone) can be used without having the Base Suite installed
  • Large workgroups can work with TargetLink models without the need for additional TargetLink licenses
Compliance with standards
  • Compliance with relevant standards such as ASAM-MCD 2MC (ASAP2), AUTOSAR, MISRA, and OSEK
  • Quality and interoperability guaranteed
AUTOSAR support
  • Support for modeling and code generation for AUTOSAR software components (SWC), and generation of SWC descriptions
  • TargetLink bridges the gap between model-based design and AUTOSAR-compliant software development
Calibration data generation
  • Calibration data exported as ASAM-MCD 2MC (ASAP2) file for calibration tools
  • Automated and complete process with perfect consistency between model and calibration data
  • Automatic model and code documentation
  • Your projects are transparent and trackable
AUTOSAR software component (SWC) container exchange
  • Exchanging AUTOSAR SWC containers between TargetLink and SystemDesk®
  • Safe and convenient round trips for AUTOSAR software development
  • Access to SystemDesk simulation for proper software integration testing
Component-based development
  • Innovative interface concept for ports, measurement signals and calibration parameters
  • Easily increase software reuse across different projects
Connection to dSPACE VEOS®
  • Export virtual ECUs from TargetLink and run them in VEOS in combination with other virtual ECUs and standard dSPACE tools like ControlDesk®
  • Easy testing and experimenting with TargetLink code
Connection to dSPACE SYNECT®
  • Connecting to the client-server-based, central data management software SYNECT
  • Highly efficient, distributed, modular development – also for large development teams
FMI support
  • Export of Functional Mock-up Units (FMUs) from TargetLink models based on the Functional Mock-up Interface (FMI) standard
  • Execution of TargetLink-generated code with offline and real-time simulators from third parties and dSPACE
On-Target Bypassing
  • Integrating new functions directly into existing ECUs (using TargetLink and dSPACE ECU interface software)
  • Seamless transition from prototyping to series production
  • No need to perform complex software integration


1) Usable in stand-alone mode without license.
2) The Data Dictionary Manager is also available as a stand-alone license, e.g., for use with the stand-alone blockset.
3) Selection of major microcontroller families supported. For a complete list, please refer to

Our engineering portfolio includes special TargetLink customer services, for example: 

  • Hands-on support during introduction of TargetLink
  • Support during evaluations and pilot projects
  • Customer-specific TargetLink training
  • Integrating TargetLink into your development processes
  • Model analysis and advice
  • Support for developing and integrating AUTOSAR-compliant software components
  • Support for integrating the generated code in the ECU’s software environment
  • Tool chain development and maintenance
  • Process consulting



Further Information Support Training Contact Information