Compile Simulink generated code in Arduino IDE?
이전 댓글 표시
I'm trying to figure out how to get code created by Embedded Coder to build in the Arduino IDE. I have created a model in Simulink that I can build directly to the arduino board and it runs. However, I'd like to be able to make some modifications so it can run on some Arduino 3rd party boards.
I tried using Embedded Coder to generate the code, but it doesn't package it as an arduino .ino file. I tried adding all the generated files to the sketch, but arduino requires you to use the setup and loop functions and it was not obvious how to connect the generated code into the sketch.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!