Is it possible to interact with a Wii Remote through a bluetooth connection using Instrument Control Toolbox 3.0 (R2011b)?

4 次查看(过去 30 天)
I would like to utilize the accelerometers within the Wii Remote using the Instrument Control Toolbox bluetooth capability. My machine and MATLAB INSTRHWINFO can discover the device, but when I try to open the channel to the Wii Remote using FOPEN, I get the following error:
Error using icinterface/fopen (line 83)
Unsuccessful open: Cannot connect to the device. Possible reasons are
another application is
connected
or the device is not available.
Why am I getting this error? Is it possible to connect the Wii Remote using bluetooth to Instrument Control Toolbox?

采纳的回答

MathWorks Support Team
The Instrument Control Toolbox cannot directly interact with the Wii Remote. The reason is that the Wii Remote uses the Bluetooth HID profile (Human Interface Device), while the Instrument Control Toolbox 3.0 (R2011b) only supports the Bluetooth SPP profile (Serial Port Profile) at this time.
There may be a couple of alternative options that could be feasible:
1. Write your own DLL or Java library that works with the bluetooth stack data and interfaces with MATLAB through the MATLAB external interfaces capability.
2. Use a third party developed library to have the Wii Remote interface with MATLAB.
Please remember that MathWorks does not support custom libraries or third party libraries and cannot guarantee their functionality.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Test and Measurement 的更多信息

产品


版本

R2011b

Community Treasure Hunt

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

Start Hunting!

Translated by