Compile Simulink generated code in Arduino IDE?
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Arduino Hardware in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!