Get Started with MATLAB Support Package for Arduino Hardware
MATLAB® Support Package for Arduino® Hardware enables you to use MATLAB to communicate with several Arduino boards under the entry-level series, MKR, and Nano families of Arduino. You can read and write sensor data through the Arduino and immediately see the results in MATLAB without having to compile. When used in combination with the support package framework that supports custom add-on libraries, you can access additional features on Arduino hardware or attached shields. You can also use the support package to connect and communicate to ESP32 modules for your IoT applications.
- Connect to Arduino Hardware
Learn how to connect to Arduino or ESP32 hardware in MATLAB.
- Find Arduino Port on Windows, Mac, and Linux
Find the port number for your Arduino hardware.
- Find ESP32 Port on Windows, Mac, and Linux
Find the port number for your ESP32 hardware.
- Find Board Name
Find the board name to use for your Arduino hardware.
- Using Arduino Explorer App
Learn how to use Arduino Explorer app to configure GPIO pins and communication protocol interfaces and visualize data.
- Getting Started with MATLAB Support Package for Arduino Hardware
This example shows how to use MATLAB® Support Package for Arduino® Hardware to perform basic operations on the hardware such as turning an LED on and off, blinking LEDs and playing sound on a speaker.