Get Started withMATLABSupport Package forArduinoHardware
MATLAB®金宝app支持包Arduino®Hardwareenables 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.
Tutorials
- 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.
- 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.
- Supported Hardware
For a list of currently supported Arduino hardware, see theSupported Hardwarepage.