MATLAB Answers

Saber
0

Generating c++ Code from *.slx

Asked by Saber
on 3 Aug 2015
Latest activity Answered by 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)

  0 Comments

Sign in to comment.

1 Answer

Answer by 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.

  0 Comments

Sign in to comment.