How do I reset legoev3 connection type?

1 次查看(过去 30 天)
legoev3 with properties:
FirmwareVersion: 'V1.09H'
HardwareID: '00165343712A'
IPAddress: []
CommunicationType: 'Bluetooth'
BatteryLevel: 100
ConnectedSensors: {'' '' 'touch' ''}
>> legoev3 Error using legoev3 (line 307) Failed to connect to EV3 through USB. Please check your USB connection.
The first time I connected the EV3 brick was via USB, MATLAB recognizes that there is a Bluetooth connection but I am unable to reset this to get the legoev3 program/.m file to acknowledge the new connection type.

回答(1 个)

Saurabh Gupta
Saurabh Gupta 2017-8-1
The 'legoev3' command has options to specify the connection type (refer to following link for example). When used without any options, it "uses the same settings as the previous connection."
  2 个评论
Shawn Bauer
Shawn Bauer 2017-8-1
Unfortunately I tried this several unsuccessful times which lead me to post my question. Thank you though.
Saurabh Gupta
Saurabh Gupta 2017-8-1
编辑:Saurabh Gupta 2017-8-1
What OS are you on - is it a Mac? Let me know the exact version along with the OS. And what MATLAB release are you using?
Also, have you tried the troubleshooting steps at the following documentation link?

请先登录,再进行评论。

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by