Try these tips to troubleshoot issues that you face while configuring Arduino® Bluetooth® setup. To connect to your Arduino hardware using an HC-05 or HC-06 Bluetooth module, make sure you have Instrument Control Toolbox installed.
From R2020a release of MATLAB® Support Package for Arduino Hardware, the support for Adafruit® Bluefruit EZ-Link shield for Bluetooth connectivity has been removed.
Connect Arduino hardware to your computer using an USB cable. Make sure that you do not have your Bluetooth device connected to Arduino hardware when you Program the board.
When you configure your 5 V HC-05 or HC-06, use a 5 V FTDI adaptor and connect them, as shown:
On Windows®, find the FTDI serial port listed as USB Serial Port under Ports (COM & LPT) in the Device Manager, as shown:
On Mac, type
ls /dev/cu.* in the Terminal to find the
FTDI serial port, as shown: