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

4 ビュー (過去 30 日間)
Ondrej Zoufaly
Ondrej Zoufaly 2024 年 1 月 22 日
回答済み: Asim 2024 年 1 月 29 日
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 Center および File ExchangeLEGO 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