I have an issue uploading a simulink model into an arduino.

조회 수: 6 (최근 30일)
Davit
Davit 2025년 6월 29일
댓글: Davit 2025년 7월 4일
I need to upload this model to arduino mega. The port and board selection are correct i have tested that by uploading a blink example which worked. However, I can not upload this one it gives the following error message
This are the support packages which I installed to work with arduino
P.S. simulink model is funktional, it was already in use but that arduino got damaged and I have to replace it but, unfortunately I faced this issue.
Can someone help me please with this problem.

답변 (1개)

Anjaneyulu Bairi
Anjaneyulu Bairi 2025년 7월 2일
Hey,
The error message indicates that your Simulink model contains an Enabled Subsystem that is being triggered by signals from more than one rate (task). In embedded systems (like Arduino), this can lead to unpredictable results because the subsystem might be activated simultaneously by different tasks, causing data corruption or non-deterministic execution.
Refer the below MATLAB Answer which address the same issue:
Hope it helps!
  댓글 수: 1
Davit
Davit 2025년 7월 4일
Hello, thank you very much for your responce. I was suspicous that the cause could be the new version of the program which does not support multy rate embaded systems. I will install previous versins to see if it works.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by