Compile Simulink generated code in Arduino IDE?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Arduino Hardware dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!