"EXLS3 Bluetooth IMU" cannot be connected using the Bluetooth interface in Windows 10

조회 수: 2 (최근 30일)
When I try to connect to my "EXLS3 Bluetooth IMU" sensor using the Bluetooth interface in Windows 10, I get the following error:
Error using icinterface/fopen (line 83)
Unsuccesful open: Cannot connect the device.
Possible reasons are another application is connected
or the device is not available.
This seems to be working fine in Mac.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 11월 18일
We do not have access to this device to investigate, but this is likely an issue with the Bluetooth communication libraries that MATLAB is using to connect to the device.
As a workaround, you can:
Use the serialport function in MATLAB R2019b to communicate directly to the bluetooth sensor:
s = serialport(<COMPort>, <BaudRate>)
The COM port number can be obtained from the Bluetooth device properties. Go to Control Panel > Hardware and Sound > Devices and Printers, right click on the device, select properties and go to Hardware tab. Confirm that on the services tab, SPP profile is enabled and note the COM port number listed. Please refer to the attached screenshots for more info.
In releases prior to R2019b use the MATLAB serial function:
s = serial(<COMPort>, <BaudRate>)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Serial and USB Communication에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by