How to view generated code from simulink to arduino

조회 수: 4 (최근 30일)
chfakht chfakht
chfakht chfakht . 2015년 2월 19일
댓글: Seng Chong . 2022년 12월 12일
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
  댓글 수: 2
chfakht chfakht
chfakht chfakht 2015년 3월 22일
thanks a lot , but how can i view the code generated by simulink ???
Seng Chong
Seng Chong 2022년 12월 12일
Not very helpful;

댓글을 달려면 로그인하십시오.


Community Treasure Hunt

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

Start Hunting!

Translated by