MATLAB Answers


Is it possible to generate HDL Code from Simscape models?

Is HDL Code generation supported for Simscape models?




1 Answer

Answer by MathWorks Support Team on 8 Aug 2019
 Accepted Answer

Starting from R2018b, you can generate HDL code for your plant model that you developed using Simscape switched linear blocks.
Refer to the HDL Coder Release Notes to learn more about the details and capabilities per release:
An overview of Simscape support for HDL code generation can be found here:
The following example illustrates the use of Simscape HDL Workflow Advisor to generate HDL code for a Simscape model:
Prior to R2018b, HDL code generation is not supported for Simscape models. Before you can generate HDL code, you have to convert the Simscape model to an equivalent Simulink model.


Sign in to comment.