Code Generation from Simulink Models
The Embedded Coder® product extends the Simulink Coder™ product with features that you can use for embedded software development. You can implement algorithms as Simulink blocks and Stateflow® charts in a Simulink model. To generate C or C++ code from a Simulink model, with Embedded Coder you can implement, configure, and verify your model for code generation. You can generate code that has the clarity and efficiency of professional handwritten code. For example, you can:
Generate code that is compact and executes efficiently, which is essential for real-time simulators, on-target rapid prototyping boards, microprocessors used in mass production, and embedded systems.
Customize the appearance of the generated code.
Optimize generated code for a specific target environment.
Integrate existing applications, functions, and data.
Enable tracing, reporting, and testing options that facilitate code verification activities.
Generating C or C++ code from Simulink models with Embedded Coder requires the following products:
- Model Architecture and Design
Design models intended for C or C++ code generation
- Code Interface Configuration and Integration
Configure code generation for data and functions to facilitate software integration
- Code Generation
C/C++ code generation and debugging, report generation
Deployment of executable programs and shared libraries
Memory requirement minimization and speeding up execution of generated code
Show equivalence between model and generated code
- Tool Qualification and Certification
Qualify Embedded Coder for IEC certification