which document describe about generating c code from simscape model?

3 views (last 30 days)
I want to generate c code from simscape model based on simulink coder, because maybe these model can be used in hardware in the loop test. I have know all the simulink blockset are built based on s function, when generating code, the s function transfer data to tlc file, and then this file control the code generation. I have read the simscape user guide and simscape language guide. both documents have not described how to generate c code from simscape language. Is there any other document about this? Thank you for your attention or reply firstly.

Answers (2)

Febin Benjamin
Febin Benjamin on 1 Aug 2013

Lynn Crevier
Lynn Crevier on 11 Aug 2016
You can learn how to use Simulink Real-Time to generate code from your Simscape model here:

Community Treasure Hunt

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

Start Hunting!