Generate Code for FPGAs or Other Platforms
You can generate code from your Simscape™ and Simulink® models for specific real-time operating systems using Simulink Coder™ and Embedded Coder®. To save time during the build process, precompile the static run-time libraries that Simscape and its add-on products provide for supported compilers.
Rubriques
- Generate HDL Code for FPGA Platforms from Simscape Models
Learn how to convert Simscape models to HDL Code for FPGA Deployment.
- Linearize a Simscape Model to Prepare for HDL Code Generation
Learn how to linearize a model that uses the Backward Euler solver for HDL deployment.
- Requirements for Using Alternative Platforms
Follow the recommendations for minimum hardware, software, and compiler specifications to deploy your Simscape model for hardware-in-the-loop (HIL) simulation using a custom standalone application.
- Extending Embedded and Generic Real-Time System Target Files
Use the Target Language Compiler to generate custom source code for performing hardware-in-the-loop using an alternative platform.
- Precompiled Static Libraries
Precompiled libraries are provided for supported compilers.
- Initialization Cost
Learn how to avoid CPU overloads during initialization when you use an alternative platform for hardware-in-the-loop simulation.