How to connection bluetooth to matlab?

1 view (last 30 days)
donghyun kim
donghyun kim on 27 May 2017
I want to connect bluetooth to matlab. So I declared variable
b = Bluetooth('HC-06', 1)
in matlab. But I received error.
Error is (Error using Bluetooth (line 100)
Cannot Create: Please make sure Bluetooth adaptor works properly.)
What's the problem?

Answers (2)

MathReallyWorks
MathReallyWorks on 27 May 2017
Edited: MathReallyWorks on 28 May 2017
Hello donghyun kim,
Type this in your command window and check whether all the required support packages are installed or not:
instrhwinfo('Bluetooth')
You are getting that error may be because of support packages.
If the problem still persist, share your code and the error that you have got.
  2 Comments
donghyun kim
donghyun kim on 28 May 2017
I want to use bluetooth. Then May I use support packages? How I can down support package?
Güler
Güler on 7 Jan 2018
i want learning this ask response. help!!!!

Sign in to comment.


Abdel-rahman Mryyan
Abdel-rahman Mryyan on 8 May 2020
HI
I have the same problem,i think it is so simple
try to activate your bluetooth in your laptop.

Community Treasure Hunt

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

Start Hunting!