Copy C code from simulink to a microcontroller

2 visualizzazioni (ultimi 30 giorni)
Adrian Barbu
Adrian Barbu il 15 Apr 2020
Risposto: Sabin il 9 Gen 2023
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!

Risposte (1)

Sabin
Sabin il 9 Gen 2023
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.

Categorie

Scopri di più su Simulink Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by