Copy C code from simulink to a microcontroller
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I want to simulate in Simulink some complex systems with inverter, rectifier, motor, PID controller. Those components are conected to a microcontroller.
Is there some microcontrollers that have high developed libraries in Simulink so as to alow me to write a code, may be assembly code in some S functions, or in their specified Simulink Block, and then copy that code directly in the software specified for that microcontroller withot use Simulink code generation or some tools like this?
Thank you!
0 个评论
回答(1 个)
Sabin
2023-1-9
It is possible to directly connect MATLAB and Simulink to hardware using hardware support packages. This way Simulink model can be automatically deployed to hardware such as TI boards for example.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!