MATLAB Answers

Error while deploying the Simulink model to Arduino

5 views (last 30 days)
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

Accepted Answer

Madhu Govindarajan
Madhu Govindarajan on 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.

Sign in to comment.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!