Solution: This issue can be resolved by upgrading the macOS to macOS 15 Sequoia and then launching MATLAB and running the hardware setup screen to connect with Arduino
Why does the "Test Connection" for Bluetooth fail in the hardware setup screen for the Arduino support package on macOS versions 12, 13 and 14 ?
10 views (last 30 days)
Show older comments
MathWorks MATLAB Hardware Team
on 24 Jan 2025
Answered: MathWorks MATLAB Hardware Team
on 24 Jan 2025
Issue:
Why does the "Test Connection" for Bluetooth fail in the hardware setup screen for the Arduino support package on macOS versions 12, 13 and 14?
I am using an Arduino Uno with an HC-05 Bluetooth module, intending to integrate it with the MATLAB Support Package for Arduino Hardware on my Mac running Ventura OS 13. While I can successfully program the board via the hardware setup screen, the "Test Connection" button consistently triggers a prompt outside of the MATLAB window requesting a device connection. Despite clicking "Connect" on this prompt, the test connection fails in the hardware setup screen, preventing further progress.
This issue also occurs on macOS 12 Monterey and macOS 14 Sonoma.
Prompt:

Test Connection failure:

0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!