MATLAB Support Package for Arduino Hardware 快速入门
MATLAB® Support Package for Arduino® Hardware 使您能够使用 MATLAB 与 Arduino 的入门级系列、MKR 和 nano 系列下的多个 Arduino 板进行通信。您可以通过 Arduino 读写传感器数据,并在 MATLAB 中立即看到结果,而无需编译。当与支持自定义附加功能库的支持包框架结合使用时,您可以访问 Arduino 硬件上的其他功能或连接的扩展板。您还可以使用支持包来连接物联网应用的 ESP32 模块,并与之通信。
主题
- 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.
- Supported Hardware
For a list of currently supported Arduino hardware, see the Supported Hardware page.