problems to connect ev3 by bluetooth matlab 2015.a

1 view (last 30 days)
Hi, I'm with problems to make a Bluetooth connection between my ev3 and matlab 2015a. The USB connection is perfect, however the Bluetooth appear the following error:
myev3 = legoev3('bt','COM12')
Error using error Unable to load a message catalog 'legoev3io:build'. Please check the file location and format.
Error in legoev3 (line 206) error(message('legoev3io:build:Legoev3BluetoothFailed'));
I tried lots of tips found, but until now without success.
Someone could help me?
Thanks.
Heleno

Answers (2)

Peeyush
Peeyush on 9 Nov 2015
Edited: Walter Roberson on 9 Nov 2015
Use
myev3=legoev3(bt,<hardwareID>)
to setup the Bluetooth connection instead of using
myev3=legoev3(bluetooth,<COMPort>)
[HardwareID can be obtained from the brick setup available on the ev3 brick]
Please note this workaround requires ICT toolbox to be installed.
Thanks,
Peeyush
MathWorks Support

Walter Roberson
Walter Roberson on 21 Oct 2015
Unable to load message catalog often (but not always) means that somewhere in the code, files are getting opened but not getting closed again, and that is happening often enough that you reach the limit on the number of open files you can have (imposed by your operating system.) The fault is not always your own: there has been known to be bugs about that in Mathworks routines.
  1 Comment
Heleno Bispo
Heleno Bispo on 22 Oct 2015
I understand, I had this impression, however, do you know if someone has been capable to make an effective bluetooth connection? Because I can see the brick, by the bluetooth command, but I can not send or request any data.

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!