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?

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

I want to use bluetooth. Then May I use support packages? How I can down support package?
i want learning this ask response. help!!!!

Sign in to comment.

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

Categories

Find more on MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware in Help Center and File Exchange

Asked:

on 27 May 2017

Community Treasure Hunt

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

Start Hunting!