Generating c++ Code from *.slx
8 views (last 30 days)
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)
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.