Documentation

Install Support for Arduino Hardware

You can add support for Arduino® hardware to the Simulink® product. When you complete this process, and replace the firmware, you can run Simulink models on Arduino hardware.

The installation process adds the following items to your host computer:

  • Third-party software development tools, such as the Arduino software with Mega 2560, Uno, Nano 3.0, Due, Leonardo, Mega ADK, Mini, Fio, Pro, Micro, Esplora, Robot Control Board, Robot Motor Board, Yun, and Lilypad USB board support.

  • A Simulink block library for configuring and accessing Arduino sensors, actuators, and communication interfaces.

  • Examples for getting started and learning about specific features.

  • Documentation for Simulink Support Package for Arduino Hardware.

Install, Update, or Uninstall Support Package

Install Support Package

  1. On the MATLAB® Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.

  2. In the Add-On Manager window, find and click the support package, and then click Install.

Update Support Package

On the MATLAB Home tab, in the Environment section, click Add-Ons > Check for Updates > Hardware Support Packages.

Uninstall Support Package

  1. On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.

  2. In the Add-On Manager window, find and click the support package, and then click Uninstall.

Complete Additional Setup Tasks

  1. If you clicked Setup Later at the end of the Add-On Manager installation process, you can restart hardware setup process.

    • On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons. When the Add-On Manager opens, click Setup

    • Enter targetupdater in the MATLAB Command Window.

  2. Follow the instructions and default settings provided by Support Package Installer to complete the installation. For more information about the options on a particular screen, click the Help button.

  3. When the additional setup tasks complete, you can optionally open the Simulink Support Package for Arduino Hardware Examples.

Was this topic helpful?