Menu
![](/uploads/1/2/7/6/127610037/821576695.png)
Read and write to devices connected to a serial port. Hardware, another computer, or a scientific instrument such as an oscilloscope or a function generator.
![Matlab Matlab](/uploads/1/2/7/6/127610037/725312714.png)
B
= Bluetooth(RemoteName
,Channel
)
creates a Bluetooth® object associated with the RemoteName
and Channel
. RemoteName
is a friendly way to identify the RemoteID
. If not specified, the default channel is 0
.The Instrument Control Toolbox™ Bluetooth interface lets you connect to devices over the Bluetooth interface, and to transmit and receive ASCII and binary data. Instrument Control Toolbox supports the Bluetooth Serial Port Profile (SPP). You can identify any SPP Bluetooth device and establish a two-way connection with that device.
B
= Bluetooth(RemoteID
,Channel
)
creates a Bluetooth object directly from the RemoteID
and Channel
.![Arduino Arduino](/uploads/1/2/7/6/127610037/544337811.jpg)
To connect with the Bluetooth device, use the
fopen
function. When the Bluetooth object is created, its status
property is closed
. When the object is connected to the remote device with the fopen
function, the status
property is set to open
.B
= Bluetooth(___,Name,Value
)
creates a Bluetooth object using the specified property values. If an invalid property name or property value is specified the object is not created.For information on other functions that can be used with
Bluetooth
, a full example using the Bluetooth interface, events and callbacks, and usage guidelines see Bluetooth Interface Overview.![](/uploads/1/2/7/6/127610037/821576695.png)