Lego EV3 connection with Matlab via bluetooth error
2 views (last 30 days)
Show older comments
Johnny Yoon on 7 Jun 2017
I have tried to connect Lego EV3 from Matlab via Bluetooth, however, Matlab showed the following error message.
Error using error Unable to load a message catalog 'legoev3io:build'. Please check the file location and format.
Error in legoev3 (line 185) error(message('legoev3io:build:Legoev3BluetoothFailed'));
I have tried to find any helpful answers, but, couldn't find yet. I have no problem when I tried to connect via USB cable, however, not Bluetooth.
It would be very much appreciated for any helpful solutions.
Arnav Mendiratta on 13 Jun 2017
Edited: Walter Roberson on 14 Jun 2017
There have been known bluetooth connection issues with Lego EV3 on Mac OS, while USB always seems to work. Usually, this error occurs when MATLAB is unable to locate or open the message catalog file. Refer to the instructions below to resolve this error.
1) Check if the following file exists:
Note: support_package_root_directory is the directory where the Legoev3 support package is installed. By default, it is C:\MATLAB\SupportPackages\<matlab_version>\ for R2016a and earlier releases. And for R2016b+, it is C:\ProgramData\MATLAB\SupportPackages\<matlab_version>
If the above file does not exist, contact MathWorks Technical Support .
2) If the build.xml already exists, the error may be occurring because MATLAB is unable to open the build.xml file. In this case, launch MATLAB as administrator and try to connect to Legoev3.
Yu Li on 13 Mar 2018
i have same problem about ev3 connection. fail to receive...!
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!