Simulink Support Package For Arduino Hardware Issue, CAN Receive Block

4 vues (au cours des 30 derniers jours)
Tuan Minh
Tuan Minh le 2 Avr 2025
Hello,
I am learning to program Arduino on Simulink. I am currently following the tutorial "Transmit and Receive Data Using Arduino CAN Blocks" on Mathworks when I received this error of exceeding memory. I am using R2024B version. The board I use is Arduino Uno R3.
So far I have tried:
- Changing Hardware Module to another board, upload to receive fail message then change back to Uno and upload.
- Run in I/O mode instead of on-board.
Neither of these worked and I still get the same error message.
What should I do next? Could this be a Simulink-related issue? Any help would be greatly appreciated.
Thank you.

Réponses (1)

Oliver Jaehrig
Oliver Jaehrig le 3 Avr 2025
  2 commentaires
Tuan Minh
Tuan Minh le 3 Avr 2025
Hello Jährig, thank you for the response. I checked the page you mentioned and the "Build Configuration" in my example model.
In the example model, the parameter is set to "Faster Runs" by default. I have also tried changing it to other options then back to "Faster Runs" to see if it would change anything. Unfortunately Simulink still gave the same error message.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by