Arduino Support Package with Bluetooth Connection

I'm looking to receive data from multiple analog ports of an Arduino MEGA 2560 using the Arduino Support Package, however, I'd like to do so over Bluetooth rather than the standard USB. I would prefer not to have to use the Arduino IDE so that the entire functionality is contained within Matlab and I can change sampling frequency easily. How could I go about this? Does the Support Package allow for Bluetooth connection rather than USB?

1 Comment

Currently, "MATLAB Support Package for Arduino" enables communication over a USB cable. However, you can use Instrument Control Toolbox's "Bluetooth" function to create a "bluetooth" object in MATLAB, and communicate using that.
This workflow has been explained in the following MATLAB Answers posts:

Sign in to comment.

Answers (0)

Categories

Asked:

on 4 Apr 2017

Edited:

on 7 Apr 2017

Community Treasure Hunt

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

Start Hunting!