Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Simulink Coder

Product Description

Generating Code

Simulink Coder offers comprehensive code generation support for Simulink and Stateflow features and components, including:

  • Model blocks for generating code incrementally
  • Atomic subsystems and atomic subcharts for reusing code via reentrant C functions
  • Bus objects and arrays of buses for generating structures in your code
  • S-functions for simulating and interfacing with legacy code
  • MATLAB function blocks in Simulink and MATLAB functions in Stateflow for generating code from models with MATLAB components

Simulink Coder also supports the Simulink product family, including fixed-point modeling, physical modeling, signal processing and communications modeling, and rapid prototyping and hardware-in the-loop (HIL) testing products.

Code Generation Options

Simulink Coder provides user-selectable options to facilitate execution of generated code in desktop and simulation environments. These options include:

  • Code reuse
  • Expression folding
  • Signal storage reuse
  • Dead path elimination
  • Parameter inlining
  • Single-precision and prebuilt math libraries (including ISO C and GNU C)
Generated code using for-loop fusion and expression folding for a 10-element array model.

Generated code using for-loop fusion and expression folding for a 10-element array model. Simulink Coder produces efficient and readable code for single and multidimensional signals.

Contact sales
Free technical kit
Trial software

Get Pricing and
Licensing Options

Upcoming Webinar

Embedded Code Generation for AC Motor Controllers new