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, Micro, Robot Control Board, Robot Motor Board, MKR1000, MKR WIFI 1010, MKR ZERO, and Nano 33 IoT 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.
On the MATLAB® Home tab, in the Environment section, select Add-Ons > Get Hardware Support Packages.
In the Add-On Explorer window, click the support package and then click Install.
On the MATLAB Home tab, in the Environment section, select Help > Check for Updates.
On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.
In the Add-On Manager window, find and click the support package, and then click Uninstall.
Hardware boards and devices supported by MathWorks® require additional configuration and setup steps to connect to MATLAB and Simulink. Each support package provides a hardware setup process that guides you through registering, configuring, and connecting to your hardware board.
If the support package is already installed, you can start the hardware setup by opening the Add-On Manager.
In the Add-On Manager, start the hardware setup process by clicking the Setup button, .
After starting, the Hardware Setup window provides instructions for configuring the support package to work with your hardware.
Follow the instructions on each page of the Hardware Setup window. When the hardware setup process completes, you can open the examples to get familiar with the product and its features.