주요 콘텐츠

Set Up Arduino Board in MATLAB Online

R2026b

After you set up MATLAB® Connector™ and confirm that MATLAB Online™ can find your Arduino® board as described in Get Started with MATLAB Online for Arduino, you are ready to set up the board for use with MATLAB Online. To do so, in the MATLAB Online command window, run the arduinosetup command.

This command opens the Hardware Setup wizard to guide you through the setup process.

Review Third-Party Tools and Licenses

The setup screen displays required third-party tools, licenses, and Arduino cores. All listed third-party tools are available in MATLAB Online.

  1. Review the listed tools and licenses.

  2. Click Next to proceed.

Hardware Setup wizard screen on Review Third-Party Tools and Licenses step, showing list of required tools with links to their license information.

Install Third-Party Software

Some third-party software must be installed on your local computer via MATLAB Connector.

  1. To download and install the required tools click Install.

  2. When MATLAB Connector prompts for permission, review the request and click Yes to allow the installation.

  3. When installation is complete, click Next to proceed.

Hardware Setup Install Third-Party Software screen listing Arduino Download Utility software, with the Install button highlighted

If you get a pop-up notification requesting additional permissions, grant the permissions to continue. For more information, see Security Considerations When Using MATLAB Online with Arduino.

If the installation stalls or fails, verify that MATLAB Connector is still running on your computer. If necessary, close and restart MATLAB Connector, then retry the installation.

Configure Board Connection

Select the connection type for your Arduino board:

  • USB — Select the COM port detected by arduinolist. The board type is auto-detected. For more information, see Connect to Arduino Board Over USB.

  • Wi-Fi® — For boards that support Wi-Fi, (for example, Arduino MKR WiFi1010, Uno R4 WiFi), enter the network credentials and configure the wireless connection. For more information, see Connection over Wi-Fi.

Setup Complete

After the setup process finishes, your board is configured and ready to use. Open Arduino Explorer, and click on your device card. When the Pin Explorer pane appears your board is ready to use.

Arduino Explorer with an Arduino Uno device card selected in the Device List and the Pin Explorer pane listing the board pins

For next steps, see Use Arduino Explorer App. To get started with Arduino Explorer, see Get Started with Arduino Explorer.

See Also

| |

Topics