Error while deploying the Simulink model to Arduino
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Omkar Bhanap
am 21 Nov. 2018
Kommentiert: Omkar Bhanap
am 28 Nov. 2018
I was trying to deploy a Simulink model to my Arduino Uno, but got the error message as follows: "Maximum variable size allowed by the program is exceeded". Please help me to solve this problem. I have attached my simulink model and the error message screenshot with this question
0 Kommentare
Akzeptierte Antwort
Madhu Govindarajan
am 26 Nov. 2018
This error happens if the algorithm cannot be fit inside the Arduino memory. if merely deploying the code throws this error, I recommend attempting to implement simpler versions of your algorithm.
3 Kommentare
Madhu Govindarajan
am 27 Nov. 2018
If you have Simulink Coder, then you can generate code out of blocks and call it from Arduino IDE. This is a little bit more involved workflow and I dont know the details. You might have to reach out to Technical Support for this.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Modeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!