How to connection bluetooth to matlab?

1 次查看(过去 30 天)
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?

回答(2 个)

MathReallyWorks
MathReallyWorks 2017-5-27
编辑:MathReallyWorks 2017-5-28
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 个评论
donghyun kim
donghyun kim 2017-5-28
I want to use bluetooth. Then May I use support packages? How I can down support package?
Güler
Güler 2018-1-7
i want learning this ask response. help!!!!

请先登录,再进行评论。


Abdel-rahman Mryyan
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!