Simulink Support Package for Arduino Hardware

Run models on Arduino boards
261.3K Downloads
Updated 14 May 2025

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

Key Capabilities
  • Automated build, deployment, and execution of models on Arduino hardware
  • Library of Simulink blocks for Arduino peripherals (ADC, PWM, Serial, I2C, SPI), Capture data using Sensor blocks
  • Communicate with hardware in simulation using Connected I/O mode
  • Real-time parameter tuning and signal acquisition with External mode
  • Simulink Coder™ lets you access the C code generated from Simulink and trace it back to the original model.
  • Embedded Coder® lets you generate optimized code, use code replacement libraries, and perform software-in-the-loop (SiL) and processor-in-the-loop (PiL) verification.
  • Supports programming Arduino compatible ESP32 hardware (R2022a onwards)
  • Wide range of example models for control systems, robotics, signal processing, IoT, and more
  • Guide to create custom device driver block for Arduino Library
Documentation
Support
  • Installation FAQs: The most frequently asked questions about installation of Simulink Arduino support package
  • If you have download or installation problems, please contact - Technical Support
Notes
  • 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.
  • Log4j CVE-2021-44228 Vulnerability : Affected releases - R2019b and Onwards
Platform Compatability:
  • Windows : R2016b onwards
  • Linux : R2016b onwards
  • macOS (Intel) : R2016b onwards
  • macOS (Apple Silicon): R2024a onwards
Videos
MATLAB Release Compatibility
Created with R2016b
Compatible with R2016b to R2025a
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) Linux

Community Treasure Hunt

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

Start Hunting!