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

4 次查看(过去 30 天)
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.

回答(1 个)

Asim
Asim 2024-1-29
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

类别

Help CenterFile Exchange 中查找有关 LEGO MINDSTORMS EV3 Hardware 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by