Can't connect to target application in Simulink - Lego Mindstorms EV3

3 vues (au cours des 30 derniers jours)
Ondrej Zoufaly
Ondrej Zoufaly le 22 Jan 2024
Réponse apportée : Asim le 29 Jan 2024
Hello,
the question is quite simple. I tried to control my LEGO ev3 block from MATLAB script and it works. However trying to run ev3 from simulink is not succesful. The error message is this:
External Mode Open Protocol Connect command failed
Caused by:
  • Could not connect to target application: XCP TCP/IP error: Connect failed
Does anybody know how could I succesfully connect simulink to ev3 ?
Thank you.

Réponses (1)

Asim
Asim le 29 Jan 2024
Hello Ondej,
I understand that you are encountering 'External Mode Open Protocol Connect command failed' error while using Lego Mindstroms EV3 with MATLAB R2023a.
This error has been extensively discussed in the community, and there have been numerous proposed workarounds. I recommend exploring the following discussions where you can find valuable insights and potential solutions.
I hope this helps.
Best Regards,
Asim Asrar

Catégories

En savoir plus sur LEGO MINDSTORMS EV3 Hardware dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by