How to view generated code from simulink to arduino
6 views (last 30 days)
Show older comments
chfakht chfakht on 19 Feb 2015
Commented: Seng Chong on 12 Dec 2022
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
Abhishek GS on 17 Mar 2015
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 .
Find more on Modeling 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!