Simulink External Mode Execution Error

1 view (last 30 days)
SRance on 16 Nov 2020
Answered: Priysha LNU on 24 Nov 2020
I'm getting the error below when attempting to execute a Simulink program via Monitor & Tune on an Arduino Mega 2560.
Error occurred while executing External Mode MEX-file 'ext_comm':
Timed-out waiting for second connect response packet.
Unable to connect to the 'Arduino Mega 2560' target for ...
This error has only just started occuring (I have previously been able to run the same model on the same board) and I am unsure of the cause and possible ways to rectify.
Any support would be much appreciated.

Answers (1)

Priysha LNU
Priysha LNU on 24 Nov 2020
Refer to the answer in the following MATLAB Answers link for a detailed workaround/solution for this issue:
Hope this helps!


Community Treasure Hunt

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

Start Hunting!

Translated by