Car software companies
RelationshipDraft

Simulink in automotive: how model-based design works and why automakers use it

Automakers design control software such as powertrain, chassis, battery, and driver assistance functions as graphical models in MathWorks Simulink (and, for some safety-critical work, Ansys SCADE or dSPACE TargetLink), simulate them, and generate production C code automatically, licensing the tools through large enterprise agreements and relying on vendor qualification kits to use generated code under ISO 26262.

.md
Fig. What flows between them
  1. Model-based design tools
    ↓ Modeling, simulation, and code generation tools
    Legacy OEM software units
  2. ↓ Enterprise licence agreements and maintenance
    Model-based design tools
  3. Legacy OEM software units
    ↓ Feature requests, modeling guidelines, bug reports
    Model-based design tools
  4. ↓ Consultants, trainers, and application engineers
    Legacy OEM software units
The questions people ask

Quick answers

How is Simulink used in automotive?

Engineers draw control algorithms as block diagrams, simulate them against vehicle models, then generate C code for the ECU with Embedded Coder or dSPACE TargetLink. It is standard for powertrain, chassis, battery management, and many driver assistance functions.

What is model-based design in automotive?

Model-based design means the executable model, not hand-written code, is the main design artifact. The same model is used for requirements checks, simulation, test generation, and automatic code generation, which reduces manual coding errors and lets engineers test early.

Simulink vs SCADE: what is the difference?

Simulink is the general-purpose standard across automotive, broad and flexible. Ansys SCADE uses a formally defined language with a code generator qualified to the highest safety levels, so it is used more in aerospace and rail and in some automotive safety functions where certified code generation matters.

Is auto-generated code allowed under ISO 26262?

Yes. ISO 26262 accepts generated code if the tool is qualified or the output is verified, for example by back-to-back testing between model and code. Vendors provide qualification kits and IEC Certification Kits to support this.

Why do automakers still hand-write code?

Modern software such as infotainment, services, and AI perception is not well suited to block-diagram modeling, and large generated code can be inefficient. Automakers increasingly mix model-based control software with hand-written C++, Rust, and Python for other domains.

01

How the relationship works#

01.1

The vendor supplies the modeling and code generation chain; automaker engineers design functions as models, simulate them, generate code, and hand models or code to suppliers who integrate them into ECUs.[1]

Consensus Link
  1. ↓ enterprise licences
    Model-based design vendor
  2. Automaker software unit
    ↓ models or generated code
    Tier 1 software arm
  3. HIL vendor
    ↓ test against models
    Automaker software unit
How model-based design tools sit in an automaker's development flow.
01.2

Model-based design maps onto the V-model: requirements, model, simulation (MIL), code generation, SIL, HIL, and vehicle tests, with back-to-back tests linking each step to the model.

Consensus Link
  1. 1
    Requirements
    Function owner
  2. 2
    Model in Simulink
    Control engineer
  3. 3
    Model-in-the-loop tests
    Control engineer
  4. 4
    Code generation
    Embedded Coder or TargetLink
  5. 5
    SIL and HIL tests
    Test team
  6. 6
    Vehicle calibration
    Calibration engineers
The model-based design workflow inside an automaker.
02

What flows between them#

02.1

MathWorks dominates with Simulink, Stateflow, and Embedded Coder; dSPACE TargetLink is a widely used production code generator for Simulink models; Ansys SCADE serves highly safety-critical work; ETAS ASCET has a long history at Bosch and its customers.[1][2][3][4]

Consensus Link
1
MathWorks
Simulink, Embedded Coder
2
dSPACE
TargetLink code generator
3
Ansys SCADE
Qualified code generation
4
ETAS
ASCET
5
Modelica tools
Dymola, physical modeling
Main model-based design tool vendors in automotive.
02.2

Automakers increasingly share models with suppliers rather than only specifications, using FMI and AUTOSAR software component descriptions, so the model becomes a contract artifact between automaker and Tier 1.

Consensus Link
  1. 1Automaker builds function model
  2. 2Shares model or FMU
  3. 3Supplier integrates into ECU
  4. 4Back-to-back tests confirm match
How models move between automakers and suppliers.
03

Commercial structure#

03.1

Large automakers buy through enterprise agreements covering thousands of engineers, priced per user with toolbox add-ons. MathWorks' campus-style licensing and its consulting and training services make it a deep, long-term account.

Inferred Link
MathWorks-style enterprise deal
  • Base productsMATLAB, Simulink
  • ToolboxesCode generation, verification
  • Certification kitsISO 26262 evidence
  • TrainingEngineer onboarding
  • ConsultingProcess and migration
Components of an enterprise model-based design agreement.
03.2

Vendors sell qualification kits that provide the evidence automakers need to use generated code in safety functions; MathWorks offers an IEC Certification Kit with TUV SUD certificates, and SCADE's code generator is qualified out of the box.[1][2][5]

Consensus Link
  • 1IEC Certification Kit
  • 2Back-to-back test workflow
  • 1Qualified code generator
  • 2Less verification needed
How vendors support ISO 26262 use of generated code.
04

How they communicate#

04.1

Automakers shape modeling through guidelines such as the style rules first written by the MathWorks Automotive Advisory Board (MAAB) and carried on by the Japanese JMAAB group, which vendors build into model checkers.

Consensus Link
  1. 1Automaker modeling rules
  2. 2MAAB / JMAAB guidelines
  3. 3Built into model checkers
  4. 4Applied by suppliers too
How modeling guidelines flow between automakers and vendors.
04.2

Contact runs through account teams, pilot engineers embedded at large automakers, advisory boards where automakers request features, user conferences (MATLAB EXPO), and training programs for new engineers.

Inferred Link
1
Account team
Commercial
2
Pilot engineers
On-site support
3
Advisory boards
Feature requests
4
MATLAB EXPO, user days
Community
5
Training
Engineer onboarding
Channels between model-based design vendors and automakers.
05

Power dynamic#

05.1

MathWorks holds strong leverage: Simulink is a de facto standard, engineers learn it at university, and automakers have decades of models built in it. Automakers' leverage comes from scale and the option to move new software to hand-written code.

Inferred Link
Automaker software unit
Their levers
  • Thousands of seats
  • Can shift to hand code
  • Pushes open formats (FMI)
  • Group-wide negotiation
Model-based design vendor
Their levers
  • De facto standard
  • Huge legacy model base
  • University pipeline
  • Qualification evidence
VS
Who holds which levers in model-based design deals.
05.2

Software-defined vehicles weaken this lock somewhat: service-oriented software, AI, and cloud-native tools are not model-based, so the share of code from models may fall even as control software keeps using Simulink.

Inferred Link
  1. 1SDV architecture
  2. 2More service and AI code
  3. 3Model share falls
  4. 4Control software stays model-based
How software-defined vehicles change model-based design.
06

Friction & conflict#

06.1

Friction appears around licence costs at renewal, version upgrades that break models, code efficiency of generated code, and lock-in to proprietary model formats.

Inferred Link
1
Licence cost
Large renewals
2
Version upgrades
Model migration
3
Code efficiency
Memory and speed
4
Proprietary format
Hard to switch
Where automakers and model-based design vendors clash.
07

Regional variations#

07.1

Japan is especially model-based: Toyota, Honda, and Nissan engineers helped shape modeling guidelines through JMAAB. Germany pairs Simulink with dSPACE TargetLink and ETAS. US and Korean automakers use Simulink widely. China uses Simulink but is building domestic alternatives amid export-control concerns.

Inferred Link
  • 1Very model-based
  • 2JMAAB guidelines
  • 1Simulink plus TargetLink
  • 2Supplier model exchange
  • 1Simulink standard
  • 2Large enterprise deals
  • 1Simulink widely used
  • 2Domestic tools emerging
How model-based design use differs by country.
07.2

US export controls have made Chinese organizations wary of depending on US engineering software; some universities on US entity lists lost MATLAB access in 2020, which accelerated domestic modeling tool efforts in China.

Consensus Link
  1. 1US export controls
  2. 2Access risk for Chinese users
  3. 3Domestic tool investment
  4. 4Gradual substitution
Why China is building alternatives to Western modeling tools.
09
Live · coming next

Pulse

What's happening with model-based design tools and legacy OEM software units

Every headline, story, and sentiment shift about model-based design tools and legacy OEM software units: updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1Simulink, Embedded Coder, and Polyspace , MathWorks
  2. 2Ansys SCADE Suite , Ansys (Synopsys)
  3. 3dSPACE: simulation and validation (HIL, SIL, scenario simulation) , dSPACE
  4. 4ETAS (RTA, LABCAR, ISOLAR) , ETAS
  5. 5ISO 26262-8:2018 Road vehicles: Functional safety, supporting processes (tool qualification) , ISO
Before you go

Did you find what you came here for?