MATLAB: How to find which Simscape Electrical libraries and Simulink libraries are supported for codegen

codegenlibrarySimscapesimulink

How to find which Simscape Electrical libraries and Simulink libraries are supported for codegen?

Best Answer

To check if the Simulink library is supported for codgen and to know supported data types, follow the link below:
Simulink Codegen check:
The following article describes how to identify blocks that are suitable for production code generation
To generate C Code for Simscape Electrical Models, the following link describes how to use Simulink® Coder™ software to generate standalone C or C++ code from your Physical Networks models and enhance simulation speed and portability. Certain features of Simulink software also make use of generated or external code.
The following page displays all the Simscape Electrical blocks that support code generation. Furthermore, you can choose the appropriate Simscape library to determine what blocks support code generation.
Related Question