How to view generated code from simulink to arduino

7 次查看(过去 30 天)
Hi all, i have built an example of led in simulink and i deploy it to an arduino uno i want know to know if i can view the generated code , and if that code can be loaded into the arduino in other way like loading it with arduino ide

回答(1 个)

Abhishek GS
Abhishek GS 2015-3-17
Hi Chfakht,
You will be able to see the Simulink generated code for Arduino if you have License for Embedded Coder Toolbox.
Once you have your C-Code, you should be able to use the avr-gcc compiler and avrdude uploading tool to load the code into Arduino without using the IDE. You can find an example here .
Thanks, Abhishek

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by