Hardware Support

Arduino Support from MATLAB and Simulink

Control peripherals and run algorithms on Arduino boards

With MATLAB and Simulink Support Packages for Arduino® hardware, you can use MATLAB and Simulink to interactively communicate with your Arduino. Simulink also enables you to perform model deployment for standalone operations on Arduino boards.

MATLAB Support Package for Arduino

MATLAB is a programming and numeric computing platform for prototyping and refining algorithms. Using MATLAB for your Arduino projects is easy, and you can see results from I/O instructions immediately, without recompiling. MATLAB includes thousands of built-in math, engineering, and plotting functions that you can use for your Arduino programming.​

Arduino explorer

Arduino Explorer App

Setup an Arduino board; read, write, and analyze data from the board; and generate equivalent MATLAB code through an interactive UI.

MATLAB sensor data

Acquire Sensor Data

Communicate with a wide range of sensors, including IMU (Inertial Measurement Unit), environmental, and distance measurement sensors, right out of the box.

Control other devices

Control Other Devices

Communicate with an Arduino board over USB Cable or Wi-Fi to access peripheral devices and sensors connected over I2C, SPI, or CAN. Also drive DC, servo, and stepper motors.

Moisture sensor

Custom Add-Ons

Build custom add-ons to interface with additional hardware and software libraries.

Arduino Engineering Kit

Arduino Engineering Kit

Learn important engineering concepts while programming drawing robots or Rover projects with MATLAB.

Supported Hardware

Classic Boards

  • Arduino Uno R3
  • Arduino Mega 2560
  • Arduino Leonardo
  • Arduino Due
  • Arduino Micro
  • Arduino Mega-ADK

Nano Boards

  • Arduino Nano 3.0
  • Arduino Nano 33 IoT
  • Arduino Nano 33 BLE Sense

MKR Boards

  • Arduino MKR1000
  • Arduino MKR WIFI 1010
  • Arduino MKR ZERO

Other Boards and Kits

  • ESP32 Wroom DevKit C
  • ESP32 Wroom DevKit V1
  • Seeduino Lotus
  • Seeduino v4.2
  • Arduino Engineering Kit
  • Grove Beginner Kit for Arduino

Featured Courseware and Customer Stories

Panel Navigation

Modeling, Analysis, and Control of Circuits

Dawn Tillbury, University of Michigan, Bill Messner, Carnegie Mellon University, Richard Hill, University of Detroit Mercy

Hardware-based activities that are a companion to Control Tutorials for MATLAB and Simulink

Panel Navigation

Duino-Based Learning

Eneko Lerma, Robert Griñó, and Ramon Costa, Universitat Politècnica de Catalunya

Project-based learning materials for teaching control that include instructions and walkthrough videos

Panel Navigation

Process Dynamics and Control with Arduino TCLab

John Hendengren, Brigham Young University

Materials for teaching a process dynamics and control course using the Arduino-based Temperature Control Lab

Panel Navigation

Arduino Engineering Kit

Mojtaba Azadi, San Francisco State University

Creating a virtual hands-on mechatronics course with MATLAB, Simulink, and the Arduino Engineering Kit

Simulink Support Package for Arduino

Simulink support package for Arduino lets you develop algorithms in Simulink, a block diagram environment for modeling dynamic systems and developing algorithms, and run the algorithms standalone on your Arduino. The support package extends Simulink with blocks for configuring and accessing Arduino sensors, actuators, and communication interfaces.

Run with IO

Connected I/O

Modify your algorithm and monitor the effect of the modified design using peripheral data from the hardware in a near real-time environment with only one-time deployment.

Monitor & Tune

Monitor and Tune

Tune model parameters and evaluate the effects of different parameter values on model results in real-time.

Build, Deploy & Start

Deployment

Develop algorithms and deploy your Simulink models as standalone executables that run on your Arduino hardware.

MATLAB function block

MATLAB Function Block

Implement custom MATLAB functions in a Simulink model.

Sensor support

Sensor Support

Extended sensor catalogue covering range of IMU, environmental, and distance measurement sensors​.

Arduino Engineering Kit

Arduino Engineering Kit

Learn important engineering concepts while programming motorcycle projects with Simulink.

Supported Hardware

Classic Boards

  • Arduino Uno R3
  • Arduino Mega 2560
  • Arduino Leonardo
  • Arduino Due
  • Arduino Micro
  • Arduino Mega-ADK
  • Arduino motor control board

Nano Boards

  • Arduino Nano 3.0
  • Arduino Nano 33 IoT
  • Arduino Nano 33 BLE Sense

MKR Boards

  • Arduino MKR1000
  • Arduino MKR WIFI 1010
  • Arduino MKR ZERO

Other Boards and Kits

  • ESP32 Wroom DevKit C
  • ESP32 Wroom DevKit V1
  • ESP32 WROVER
  • Arduino Engineering Kit