Bluetooth connection between Lego Mindstorms NXT and MATLAB

1 回表示 (過去 30 日間)
Luiza Cunha de Menezes
Luiza Cunha de Menezes 2015 年 5 月 17 日
コメント済み: Vinod 2016 年 6 月 27 日
I am following the steps of the page: http://au.mathworks.com/help/instrument/examples/communicating-with-the-lego-mindstorms-nxt-brick-over-bluetooth.html. However, after pairing the device, matlab returns the error: Error using instrhwinfo (line 191) Bluetooth is not supported in MAC OS Mountain Lion (10.8) and higher Does it mean that there is no way that I can do the connection? Thanks.

採用された回答

Walter Roberson
Walter Roberson 2015 年 5 月 19 日
The Bluetooth interface is supported on these platforms:
* Mac OS 10.7 and earlier versions only 64-bit
* Microsoft® Windows® 32-bit
* Microsoft Windows 64-bit
I have no information on the reason for this restriction, so I do not know how difficult it would be to create your own Bluetooth interface. You will not be able to use the prebuilt support, though.
  3 件のコメント
Walter Roberson
Walter Roberson 2015 年 5 月 19 日
Sorry, I do not seem to find any information about why the restriction exists.
Vinod
Vinod 2016 年 6 月 27 日
As of R2016a Mac OS X 10.10 and newer is also supported. It is recommended to use OS X 10.11 or higher.

サインインしてコメントする。

その他の回答 (2 件)

Vinod
Vinod 2016 年 4 月 24 日
Bluetooth on Mac OS X 10.10 and higher are supported in MATLAB R2016a and newer.

Sriram Narayanan
Sriram Narayanan 2015 年 5 月 18 日
編集済み: Sriram Narayanan 2015 年 5 月 18 日
MAC OSX Mountain Lion 10.8 is fully supported with MATLAB starting release R2012b.
Since you are facing issues with communicating with NXT over bluetooth using MATLAB on Mac OS X 10.8, please make sure that you have installed X11 on your computer by following the steps mentioned in the following article.
  1 件のコメント
Luiza Cunha de Menezes
Luiza Cunha de Menezes 2015 年 5 月 19 日
Sriram, thanks for your answer. I already have the last X11 installed and my matlab version is 2014b. I am just entering the command: bluetoothDevices = instrhwinfo('Bluetooth') And it gives me the error: Error using instrhwinfo (line 191) Bluetooth is not supported in MAC OS Mountain Lion (10.8) and higher

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Support Package for LEGO MINDSTORMS EV3 Hardware についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by