Copy C code from simulink to a microcontroller

2 ビュー (過去 30 日間)
Adrian Barbu
Adrian Barbu 2020 年 4 月 15 日
回答済み: Sabin 2023 年 1 月 9 日
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!

回答 (1 件)

Sabin
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.

カテゴリ

Help Center および File ExchangeSimulink Supported Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by