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?

Respuestas (2)

MathReallyWorks
MathReallyWorks el 27 de Mayo de 2017
Editada: MathReallyWorks el 28 de Mayo de 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 comentarios

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

Iniciar sesión para comentar.

Abdel-rahman Mryyan
Abdel-rahman Mryyan el 8 de Mayo de 2020

0 votos

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

Categorías

Más información sobre MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Mayo de 2017

Respondida:

el 8 de Mayo de 2020

Community Treasure Hunt

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

Start Hunting!