Bluetooth headset connection to Matlab.

Hello Everyone,
I want to connect bluetooth headset to Matlab to acquire signals from it. My headset is connected to laptop but Matlab is not able to detect hardware. Please help with the issue. Any kind of help will be appriciated. Thanks in advance.

 Accepted Answer

Chaitanya Meduri
Chaitanya Meduri on 14 Feb 2020
Edited: Chaitanya Meduri on 14 Feb 2020
Hi Naveen,
I have found the below article in Matlab documentation, it could be useful in solving the issue you are facing.

4 Comments

Dear Chaitanya,
Thanks for you reply. But I am unable to find Hardware Setup window in Matlab through which I can copy the address value. Please help me with finding the hardware setup.
Hi Naveen,
Adding to my previous reply, if your bluetooth device is not audrino based, use the below documentation to configure it.
Additionally, going though the below documention will help you better understand better about bluetooth communication in matlab.
Dear Chaitanya,
I have gone through the link provided by you. I appriciate your efforts. I have created bluetooth object for my bluetooth headset. But it shows that device status closed. Also, while exploring Instrument Contol Box, when I try to connect my headset, it shows error note "an error occured while communicating with instrument".
Is there any to change the device status to establish connection?
Since Instrument Control Box of Matlab supports Serial Port Profile of the bluetooth connection. But I am using bluetooth headset which uses Hands Free Profile (HFP)/ Headset Profile(HSP) for bluetooth connection.
Is there any way through which I can establish bluetooth connection for data trasnfer between Bluetooth Headset and Matlab for voice signal transfer under HFP/HSP profile?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!