Generating c++ Code from *.slx

4 views (last 30 days)
Saber
Saber on 3 Aug 2015
Answered: Mike Hosea on 4 Aug 2015
I have a question regarding generating C++ code from a Simulink diagrams (*.slx file). I know that one could generate c/c++ and header files using Simulink Coder toolbox. Is there any other way to generate c/c++ file from a Simulink diagrams? Maybe Embedded Coder?(I have tested codegen, but does not work, since it generate c++ code from an M-file)

Answers (1)

Mike Hosea
Mike Hosea on 4 Aug 2015
I'm not in sales, so I could be out-of-date in my recollection of how the product catalog is built, but my understanding is that Simulink Coder is the base product for that functionality. Embedded Coder takes that a step further with embedded targets in mind. As far as I know, there's no way to "skip over" the base product for code generation from Simulink models.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!