Simulink Support Package For Arduino Hardware Issue, CAN Receive Block

4 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Oliver Jaehrig
Oliver Jaehrig am 3 Apr. 2025
  2 Kommentare
Tuan Minh
Tuan Minh am 3 Apr. 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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by