The Bluetooth® interface in MATLAB® allows you to connect to devices over the Bluetooth communication protocol and to transmit and receive ASCII and binary data. MATLAB supports the Bluetooth Serial Port Profile (SPP). You can identify any SPP Bluetooth device and establish a two-way connection with that device.
Bluetooth is an open wireless technology standard for exchanging data over short distances by short wavelength radio transmissions from fixed and mobile devices using a packet-based protocol. Bluetooth provides a secure way to connect and exchange information between devices such as LEGO® MINDSTORMS® NXT robots, USB Bluetooth adapters (dongles), wireless sensors, mobile phones, and computers.
Specifications about the Bluetooth standard can be found at the Bluetooth SIG website.
Support for Bluetooth communication in MATLAB is different from Bluetooth Low Energy Communication and Bluetooth in Communications Toolbox™. To understand the use cases for each feature and to decide which one best fits your needs, refer to the documentation for each.
The Bluetooth interface is supported on these platforms:
macOS 10.14 Mojave or later