image thumbnail

MATLAB Support Package for Arduino Hardware

Acquire inputs and send outputs on Arduino boards


Updated 22 Sep 2021

Editor's Note: Popular File 2015 2016 2017 2018 2019 2020

MATLAB® Support Package for Arduino® Hardware enables you to use MATLAB to interactively communicate with an Arduino board.

For instance, you can read and write sensor data through the Arduino board and immediately see the results in MATLAB without compiling any code. Further, you can utilize thousands of built-in math, engineering, and plotting functions that are included with MATLAB to analyze and visualize data collected from your Arduino.

You can also create and distribute complied standalone MATLAB applications that run MATLAB programs on systems to interface Arduino hardware over Serial without an installed version of MATLAB.

Feature Highlights:

● Build Projects with Arduino Engineering Kit Rev1 and Rev2
● Communicate with other devices through GPIO, I2C, SPI, CAN, and Serial peripherals
● Communicate with an Arduino board over a USB cable or wirelessly over Wi-Fi or Bluetooth
● Support for Servo, Shift Registers, Rotary Encoders, and Ultrasonic sensors
● Read real-time data from IMU, BNO055, and GPS sensors
● Create custom add-on libraries to use with your Arduino device and supported hardware shields

To know more about the supported Arduino boards and other features, visit -

This support package is functional for R2014a and beyond.

To use Arduino hardware with MATLAB versions R2013b and earlier, see

For download or installation issues with this support package, please contact MathWorks Technical Support -

● For MATLAB R2017a and earlier versions, this support package is currently unable to download third-party software. For details and workaround, see this Bug Report
● MATLAB R2017b and later versions are unaffected.

MATLAB Release Compatibility
Created with R2014a
Compatible with R2014a to R2021b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!