macOS bluetoothlist command hangs up "Busy"

조회 수: 5 (최근 30일)
John Whalen
John Whalen 2022년 12월 4일
댓글: John Whalen 2023년 1월 10일
I have Matlab 2022b and an M1 Macbook Pro running Ventura.
I can type "blelist" and get a list of the bluetooth low energy devices. If I type "bluetoothlist" the status bar states, "Busy" and the ">>" never shows up. Also tried the variant of the bluetoothlist command by adding a timeout but to no avail. Each time I need to force quit Matlab to get out of the hang up.
I do have Matlab 2022b as an approved application in the Bluetooth panel of the macOS system settings.
Any thougths to why the bluetoothlist command doesn't work would be appreciated.
TIA
  댓글 수: 3
Kannan
Kannan 2022년 12월 8일
Hi John,
The issue you are experiencing has already been identified as a bug with MATLAB. The development team is currently in the process of creating a fix for it for future releases of MATLAB, but unfortunately does not have any workarounds at this time.
John Whalen
John Whalen 2023년 1월 10일
So "blelist" will work on the 2022b maci64 version of Matlab until I call it from a Matlab GUI "app" (*.mlapp) that I created. Once I press a button on my GUI to run blelist, blelist returns, "Warning: No nearby Bluetooth Low Energy peripheral devices detected. Try a larger 'timeout' value." in the command window even though it was working before I ran the GUI app that I built. The blelist command won't work again until I quit Matlab, reopen, then type it in the command window. So there seems to be something about running a Matlab GUI app.
Also, wanted to point out that blelist in the 2022b maca64 beta doesn't work at all. After typing "blelist" in the command window I get, "Failed to detect nearby Bluetooth Low Energy peripheral devices. Contact Technical Support if issue persists." The command "bluetoothlist" returns, "Unrecognized function or variable 'discoverDevices'."
Will these issues be fixed in 2023a version of Matlab for MacOS and if so, what is the expected release date?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by