Main Content

Generate Code to Improve Simulation Speed

Convert physical models to code to speed up simulation

You can use Simulink® Coder™ software to generate standalone C or C++ code from your Simscape™ models and enhance simulation speed and portability. 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