MATLAB Answers

Is it possible to generate HDL Code from Simscape models?

4 views (last 30 days)
Is HDL Code generation supported for Simscape models?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Oct 2019
Edited: MathWorks Support Team on 30 Oct 2019
Starting from R2018b, you can generate HDL code for your plant model that you developed using Simscape.
Before you generate HDL code, use the Simscape HDL Workflow Advisor (< sschdladvisor> function) to generate an HDL implementation model from Simscape switched linear models.
Refer to the HDL Coder Release Notes to learn more about the details and capabilities per release:
An overview of the Simscape to HDL workflow 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.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!