BLE Communication does not work (it is blocked)

Hi everyone,
I am trying to connect an Arduino Nano BLE 33 to my PC through MATLAB. I am using Win11 on my PC, and I actually do not know how Arduino is programmed (but it is a minor problem for now).
I just need to make sure that I can connect the device to Matlab, and I went through BLE Matlab documentation.
Firstly, I have checked my device is present and running blelist function I got some available devices and mine too:
Index Name Address RSSI Advertisement
_____ __________________ ______________ ____ _____________
1 "LE_WH-CH700N" "38184CD24082" -55 1×1 struct
2 "SC-Device" "0456142755E8" -65 1×1 struct
3 "" "7FB73C7AA99D" -68 1×1 struct
I am interested in second position device: SC-Device.
To the point I need I went to run ble function as follows:
bt = ble("0456142755E8")
I expected to create a Bluetooth Object which can handle some basic functions to write and read data. When I run ble function (as cited above), Matlab keeps stopping for long time as long as I forced closing the window. Using ctrl+c to interrupt the process I did not get any feedbacks, and Matlab keeps Busy status.
Does anyone know why I get this behaviour?
Thanks for your support, it would be really appreciated.
Best,
V

5 件のコメント

Karson Bader
Karson Bader 2021 年 11 月 19 日
V,
Did you ever get a solution to this? I just started to experience this after updating to Matlab 2021b from Matlab 2020b and upgrading to Windows 11 from Windows 10. I submitted a similar request to the forums and was told to issue a support ticket.
Please let me know if you found a solution.
K
valio
valio 2021 年 11 月 23 日
I actually do not. Please keep me posted if something comes out.
Thank you!
Sofia Perticarà
Sofia Perticarà 2022 年 5 月 20 日
I have the same problem. Did you solve it?
Siamak Mehrnami
Siamak Mehrnami 2022 年 12 月 7 日
Very similar issue here. I am afraid it is due to Windows 11. Exact same thing works on my other machine with Windows 10.
marco ferreira
marco ferreira 2023 年 12 月 16 日
hey did you ever find a solution, im coming accross the same issue.

サインインしてコメントする。

回答 (1 件)

Ganapathi Subramanian R
Ganapathi Subramanian R 2024 年 5 月 7 日

0 投票

Hi Valio,
I understand that your MATLAB becomes unresponsive when executing the 'ble' command in Windows 11.
It is an already known issue. Kindly refer to the below External Bug Report page to know about the workaround steps to resolve the issue.

製品

リリース

R2021b

質問済み:

2021 年 11 月 8 日

回答済み:

2024 年 5 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by