Impostazione e configurazione
R2026bInstallare il supporto hardware e impostare il collegamento hardware
Prima di effettuare il collegamento all'hardware Arduino®, è necessario installare MATLAB® Support Package for Arduino Hardware. A questo punto, è possibile utilizzare Arduino Explorer per impostare e configurare in modo interattivo l'hardware in MATLAB e MATLAB Online™. Per maggiori informazioni, vedere Set Up and Connect to Arduino and Arduino-compatible Boards Using Arduino Explorer.
Per un elenco completo dell'hardware supportato nella versione di MATLAB installata, vedere Supported Hardware. Per ulteriori informazioni sulle schede, i workflow e le piattaforme supportati su MATLAB Online, vedere Get Started with MATLAB Online for Arduino.
App
| Arduino Explorer | Configure and control Arduino |
Funzioni
arduinosetup | Open Arduino hardware setup interface |
arduinolist | List available Arduino hardware (Da R2024a) |
arduino | Connection to the Arduino and Arduino-compatible ESP32 hardware |
Argomenti
Installazione e configurazione dell'hardware Arduino e del modulo ESP32
- Install Support for Arduino Hardware
Install MATLAB Support Package for Arduino Hardware. - Supported Hardware
These tables list the Arduino hardware currently supported by MATLAB Support Package for Arduino Hardware. - Set Up and Configure Arduino Hardware
Learn how to setup and configure Arduino hardware to communicate with your host computer. - Set Up and Configure ESP32 Hardware
Learn how to setup and configure ESP32 hardware to communicate with your host computer. - Pair Bluetooth Device and Retrieve Bluetooth Device Address
Learn how to pair a Bluetooth® device to the host computer and retrieve connection information. - 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. - Use Arduino Explorer App
Learn how to use the Arduino Explorer app to configure GPIO pins and communication protocol interfaces and visualize data. - Acquisizione e gestione dei componenti complementari
Trovare, installare e gestire i componenti complementari utilizzando il pannello Add-Ons (Componenti complementari).
Installazione e configurazione di MATLAB Connector e MATLAB Online
- Install MATLAB Connector for Hardware Connectivity
Install MATLAB Connector™ for hardware connectivity. - Use MATLAB Connector to Connect to Hardware
Use MATLAB Connector to view recent file activity, resolve file conflicts, and manage file syncing. - MATLAB Connector Preferences and Account Information
Set preferences for MATLAB Connector and get account information. - Troubleshooting MATLAB Connector Issues in Windows
Troubleshoot MATLAB Connector issues in Windows®. - Troubleshooting MATLAB Connector Issues in Mac
Troubleshoot MATLAB Connector issues in Mac. - Troubleshooting MATLAB Connector Issues in Linux
Troubleshoot MATLAB Connector issues in Linux®.
Configurazione di MATLAB Online
- Get Started with MATLAB Online for Arduino
Get started with MATLAB Online for MATLAB Support Package for Arduino Hardware. - Set Up MATLAB Support Package for Arduino with MATLAB Online on ChromeOS
Set up the Linux development environment on ChromeOS to use MATLAB Support Package for Arduino Hardware with MATLAB Online over USB and WiFi. - Security Considerations When Using MATLAB Online with Arduino
Take steps to secure your Arduino board.
Utilizzo di Arduino Explorer
- Set Up and Connect to Arduino and Arduino-compatible Boards Using Arduino Explorer
The Arduino Explorer app can automatically detect official Arduino boards that are connected to your computer. - Visualize Pin Diagram Using Arduino Explorer App
The Arduino Explorer app displays the pinout diagram of the selected board in a panel at the bottom right corner of the app window. - Configure Read and Write for GPIO Pins Using Arduino Explorer App
Learn how to read and write for GPIO pins using Arduino Explorer app - Connect to I2C Device Using Arduino Explorer App
I2C (Inter-Integrated Circuit) is a two-wire serial communication protocol that uses a serial data line (SDA) and a serial clock line (SCL) to exchange data between a controller and one or more peripheral devices. - Connect to SPI Device Using Arduino Explorer App
Arduino Explorer app lets you configure the Serial Peripheral Interface (SPI) communication interface, which you can then use to read and write data to SPI devices connected to the Arduino hardware. - Connect to Serial Device Using Arduino Explorer App
The Arduino Explorer app lets you configure the serial communication interface and read and write data to serial devices connected to Arduino hardware. - Visualize and Record Data from Arduino Pins Using Arduino Explorer App
Learn how to visualize and record data from Arduino pins using Arduino Explorer app - Get Started with Arduino Explorer
This example shows how to use the Arduino® Explorer app to connect to an Arduino board and monitor sensor inputs and control peripherals based on temperature readings.