The following error occurred during deployment to your hardware board: The generated code exceeds the available memory on the processor. It uses 137.9% of available program
조회 수: 7 (최근 30일)
이전 댓글 표시
The image below shows the error I encounter while trying to Run on board (Monitor & Tune). I am using Arduino Uno R3 board and MG995R servo motor for the test. Nevertheless if I deploy this very simple simulink block to arduino, it will deploy and run perfectly. What could I change?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1650586/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1650586/image.png)
댓글 수: 0
답변 (1개)
Shreeya
2024년 7월 4일
Hey
I suppose the error message suggests that you need to optimize the generated code such that it can be executed on the processor. I'm linking the document which lists the various strategies available for the memory optimization of the code:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!