EV3I/O connection problems

10 ビュー (過去 30 日間)
Benedict Bauer
Benedict Bauer 2017 年 9 月 22 日
回答済み: Mohith Prabhu 2019 年 8 月 8 日
Hello,
sometimes I have a big problem getting a connection to the Lego EV3 Hardware from Simulink. I am using Matlab 2017a with Simulink Support Package for LEGO MINDSTORMS EV3 Hardware version 17.1.3 on Windows 10.
The error message:
The following error occurred during deployment to your hardware board:
Failed to download application to EV3: Cannot connect to EV3 brick through USB.
Make sure:
1)EV3 is connected properly through USB.
2)No connection to the EV3 brick is established through EV3I/O. Clear any existing EV3I/O object.
I'm sure, that the EV3 is connected properly through USB because I see it in the Bluetooth & other Devices settings. But I don't know how to clear any existing EV3I/O object. There is not such object in the Matlab Workspace.
  1 件のコメント
Benedict Bauer
Benedict Bauer 2017 年 9 月 22 日
I forgot, that I have the same problem when I'm using Wifi as connection type although I can ping the EV3.
The error message is slightly different:
The following error occurred during deployment to your hardware board:
Failed to download application to EV3: Cannot connect to EV3 brick through WiFi.
Make sure:
1)EV3 is connected properly through WiFi and the Device ID along with the IP address entered in the Configuration parameters matches the device ID and IP address of the Brick.
2)No connection to the EV3 brick is established through EV3I/O. Clear any existing EV3I/O object.

サインインしてコメントする。

回答 (5 件)

Markus Joos
Markus Joos 2017 年 9 月 22 日
Hello,
i have the same problems to connecting the EV3 hardware to Simulink. I am using Matlab 2017b on Windows 10 with the same Support Package.
This is my error message
The following error occurred during deployment to your hardware board:
Failed to download application to EV3: Cannot connect to EV3 brick through USB.
Make sure:
1)EV3 is connected properly through USB.
2)No connection to the EV3 brick is established through EV3I/O. Clear any existing EV3I/O object.

Mohith Prabhu
Mohith Prabhu 2017 年 10 月 19 日
This error is seen in case you have used the EV3 I/O to create a hardware object using the command 'legoev3' just before deploying the Simulink model.
For example, if you have used the command myev3 = legoev3('usb') before trying to deploy the model to EV3, then you will have to clear the 'myev3' object before proceeding with the deployment of the Simulink Model.
Hope this helps.
  2 件のコメント
Durga Prasad Babu Nasika
Durga Prasad Babu Nasika 2018 年 6 月 16 日
Hello does someone can able to solve the issue? I still face the same issue while connecting through wifi
Dinesh Sequeira
Dinesh Sequeira 2018 年 7 月 2 日
How do you clear the 'myev3' object?

サインインしてコメントする。


matt masock
matt masock 2019 年 7 月 1 日
I have the same issue and am at wits end. I cant get my EV3 to download an application and get the same response. I have uninstalled and reinstalled Matlab and Simulink. I updated the current version of the firmware (1.10E) and have had no success. Is there anyone out there who has fixed this issue?

Matevz Lavtar
Matevz Lavtar 2019 年 8 月 7 日
I have the same problem.

Mohith Prabhu
Mohith Prabhu 2019 年 8 月 8 日
For issues related to setting up connection between LEGO MINDSTORMS EV3 and MATLAB/Simulink, please refer the following page

カテゴリ

Help Center および File ExchangeLEGO MINDSTORMS EV3 Hardware についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by