Code Generation
You can use Simulink® Coder™ software to generate standalone C or C++ code from your Simscape™ models and enhance simulation speed and portability. Certain features of Simulink software also make use of generated or external code. In general, using the code generated from Simscape models is similar to using code generated from regular Simulink models. However, there are certain differences. These topics explain the code-related tasks and discuss the specifics of code generation from Simscape models.
Topics
- About Code Generation from Simscape Models
You can use Simulink Coder software to generate standalone C or C++ code from your Physical Networks models and enhance simulation speed and portability.
- Reasons for Generating Code
Overview of purposes and methods for generating code.
- Using Code-Related Products and Features
Overview of products and features used for various code generation tasks.
- How Simscape Code Generation Differs from Simulink
Learn about Simscape code generation specifics.