Lego EV3 connection with Matlab via bluetooth error

조회 수: 2 (최근 30일)
Johnny Yoon
Johnny Yoon 2017년 6월 7일
답변: Yu Li 2018년 3월 13일
Hello,
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.
Thank you.

답변 (2개)

Arnav Mendiratta
Arnav Mendiratta 2017년 6월 13일
편집: Walter Roberson 2017년 6월 14일
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:
support_package_root_directory\resources\legoev3io\en\build.xml
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.
  댓글 수: 2
Johnny Yoon
Johnny Yoon 2017년 6월 14일
Thank you very much for the information. I confirmed that there is the build.xml file in the folder. Also, I launched Matlab as administrator. However, it didn't connect via Bluetooth. It showed the same error message.
Do you have any other solutions? It would be very much appreciated for some other solutions. Thank you.
Johnny Yoon
Johnny Yoon 2017년 6월 14일
By the way, I am using Windows 7 Professional for my work computer and Windows 10 Home for my personal laptop. The Windows 7 shows 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'));
While Windows 10 shows the following error message.
Error using legoev3 (line 192) Failed to connect to EV3 through Bluetooth. Please check your Bluetooth connection.

댓글을 달려면 로그인하십시오.


Yu Li
Yu Li 2018년 3월 13일
i have same problem about ev3 connection. fail to receive...!

카테고리

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