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

3 visualizaciones (últimos 30 días)
Ondrej Zoufaly
Ondrej Zoufaly el 22 de En. de 2024
Respondida: Asim el 29 de En. de 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.

Respuestas (1)

Asim
Asim el 29 de En. de 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

Categorías

Más información sobre LEGO MINDSTORMS EV3 Hardware en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by