How to connection bluetooth to matlab?

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?

Antworten (2)

MathReallyWorks
MathReallyWorks am 27 Mai 2017
Bearbeitet: MathReallyWorks am 28 Mai 2017

1 Stimme

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 Kommentare

donghyun kim
donghyun kim am 28 Mai 2017
I want to use bluetooth. Then May I use support packages? How I can down support package?
Güler
Güler am 7 Jan. 2018
i want learning this ask response. help!!!!

Melden Sie sich an, um zu kommentieren.

Abdel-rahman Mryyan
Abdel-rahman Mryyan am 8 Mai 2020

0 Stimmen

HI
I have the same problem,i think it is so simple
try to activate your bluetooth in your laptop.

Kategorien

Mehr zu MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Mai 2017

Community Treasure Hunt

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

Start Hunting!