Copy C code from simulink to a microcontroller

2 views (last 30 days)
Adrian Barbu
Adrian Barbu on 15 Apr 2020
Answered: Sabin on 9 Jan 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!

Answers (1)

Sabin
Sabin on 9 Jan 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.

Categories

Find more on Simulink Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!