Reputation: 19
I need to know the various types of toolboxes available in simulink to convert simulink model into C code.
Is there any general steps to follow to convert the model into C? If there is any step, please do guide me.
Thanking you in advance for your valuable guidance.
Upvotes: 0
Views: 4067
Reputation: 13876
Yes, the products are Simulink Coder, which requires MATLAB Coder, and is used for generating C/C++ code from Simulink models to be used for rapid prototyping, hardware-in-the loop testing, simulation acceleration or simply an executable to be run outside of MATLAB and Simulink.
If you want to deploy the generate code on an embedded platform, customize or optimise the way the code is generated, you also need Embedded Coder.
I suggest as a starting point, to watch the videos on the Simulink Coder web page. Be aware though that code generation is a rather complex topic, for advanced users, and the tools are expensive.
Upvotes: 2