Reputation: 443
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)
Upvotes: 0
Views: 658
Reputation: 36710
You have to get a license for the Simulink Coder. You may take a look at the alternatives I mentioned in my comment, but as long as the Simulink Coder satisfies your requirements, it's the cheapest option.
Upvotes: 2