What is Simulink Coder?
Simulink Coder™ generates standalone C and C++ code from Simulink® and Stateflow® models for real-time and non-real-time execution.
The generated code is ISO compliant, so it is portable and works with virtually any compiler or processor.
The code can be deployed for many purposes, such as rapid control prototyping of ECUs, hardware-in-the-loop testing of flight systems, and desktop prototyping of signal processing algorithms.
With external mode simulation using XCP, you can connect to the generated executable to visualize data and tune parameters to optimize your design and inject faults conditions while the code is executing on your processor. You can export the streamed data from Simulation Data Inspector to MAT-files or other data formats.
Simulink Coder supports Simulink blocks as well as Stateflow, Simscape™, Computer Vision Toolbox™, and other Simulink add-on products. You can incorporate algorithms written in C/C++ or MATLAB® within your models and then use Simulink Coder to generate code from them.
Along with Simulink Real-Time™, Simulink Coder provides turnkey solutions for rapid prototyping and HIL testing that supports multicore and FPGA hardware.
You can also deploy the generated C code directly to several popular boards for project-based learning using hardware support packages.
If you desire production code generation, try Embedded Coder®, which lets you customize the code and optimize it for performance and readability.
For more information on Simulink Coder or related products, refer to the product page or click on a link below.
Published: 16 Jul 2020
Featured Product
Simulink Coder
Up Next:
Related Videos:
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)