I have an issue uploading a simulink model into an arduino.
73 views (last 30 days)
Show older comments

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.
0 Comments
Answers (1)
Anjaneyulu Bairi
on 2 Jul 2025
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!
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!