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.
To share your Simulink simulations as standalone executables, web apps, or Functional Mockup Units (FMUs), use Simulink Compiler.
Generate Code and Executables from Simulink
Generate C, C++, shared libraries, and executables from Simulink, Stateflow, and many add-on products including Simscape and Deep Learning Toolbox.
Prototype and Test with Hardware
Run code generated from Simulink for desktop execution, rapid prototyping, and testing of embedded controllers and autonomous systems.
Tune Parameters and Log Data in Real Time
Optimize your design within Simulink while the code is executing on external devices by viewing and tuning data using scopes, dashboards, and live-stream plots.
Product Resources:
"We can iterate our design in Simulink, regenerate code with Simulink Coder, and be ready to conduct real-time tests with Simulink Real-Time in minutes. Without Model-Based Design, each improvement step on real-time hardware would typically take days.”
Raoul Glatt, Sonova