MATLAB Answers

How to view generated code from simulink to arduino

chfakht chfakht 님이 질문을 제출함. 19 Feb 2015
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

  댓글 수: 0

로그인 to comment.

답변 수: 1

Abhishek GS 님의 답변 17 Mar 2015

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

  댓글 수: 1

thanks a lot , but how can i view the code generated by simulink ???

로그인 to comment.



Translated by