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 non-real-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.
Prepare a model for code generation and generate C code for real-time simulation.
Generate standalone C or C++ source code from Simulink models that can include Simulink blocks, Stateflow charts, and MATLAB code.
Validate and verify steps in the system development process, such as requirements analysis, system specification, code generation, and software and system integration.
Choose a system target file for generating, building, and executing code for target environments, such as development computers, real-time simulators, and embedded processors.
What is Simulink Coder?
Generate and deploy code for rapid prototyping, hardware-in-the-loop testing, and desktop prototyping.
External Mode Simulation with XCP Communication
Establish a communication channel between your Simulink model and the target hardware by using external mode simulation.