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?

回答(1 个)

Shreeya
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:

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by