How do I reset legoev3 connection type?

2 views (last 30 days)
Shawn Bauer
Shawn Bauer on 28 Jul 2017
Edited: Saurabh Gupta on 1 Aug 2017
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.

Answers (1)

Saurabh Gupta
Saurabh Gupta on 1 Aug 2017
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 Comments
Saurabh Gupta
Saurabh Gupta on 1 Aug 2017
Edited: Saurabh Gupta on 1 Aug 2017
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?

Sign in to comment.

Categories

Find more on MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!