Error while deploying the Simulink model to Arduino

조회 수: 1 (최근 30일)
Omkar Bhanap
Omkar Bhanap 2018년 11월 21일
댓글: Omkar Bhanap 2018년 11월 28일
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

채택된 답변

Madhu Govindarajan
Madhu Govindarajan 2018년 11월 26일
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
Madhu Govindarajan
Madhu Govindarajan 2018년 11월 27일
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.
Omkar Bhanap
Omkar Bhanap 2018년 11월 28일
Thank you Sir.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by