Simulink Coder



Simulink Coder

Generate C and C++ code from Simulink and Stateflow models

Simulink Coder (formerly Real-Time Workshop) generates and executes C and C++ code from Simulink models, Stateflow charts, and MATLAB functions. The generated source code can be used for real-time and nonreal-time applications, including simulation acceleration, rapid prototyping, and hardware-in-the-loop testing. You can tune and monitor the generated code using Simulink or run and interact with the code outside MATLAB and Simulink.

Generating Code

Simulink Coder generates C and C++ for Simulink models, MATLAB functions, and Stateflow charts. It supports a wide variety of Simulink add-on products, including Simscape, Vehicle Dynamics Blockset, and Computer Vision Toolbox.

Configuring Options

Simulink Coder lets you configure code and data options using apps and APIs. Use Code Generation Advisor to optimize for speed or debugging.

Integrating Legacy Code

You can incorporate hand-written, existing C/C++ code using the C Caller block or the Legacy Code Tool to enable simulation and integration with generated code.

Viewing the Status of Parallel Builds

You can view the status of in-progress parallel builds using the build status user interface. This information can help you identify ways to improve parallel builds by modifying the referenced model hierarchy.


There are no reviews yet.

Be the first to review “Simulink Coder”