With Simulink® Support Package for Arduino® Hardware, you can use Simulink to develop and simulate algorithms that run standalone on your Arduino. The package includes:
Learn more about Arduino programming with MATLAB and Simulink.
Watch video to learn how to implement serial communication between Raspberry Pi and Arduino.
|Arduino Board||Shield Support||Interactive Tuning and monitoring||Comments|
|Arduino Due*||Y||Y||CAN channel not currently supported.|
|Interactive tuning supported as of R2016b. You can log one signal at 1 kHz or up to 6 signals at 5 ms rate.|
|Arduino Mega 2560*||Y||Y||Log one signal at 1 kHz or up to 6 signals at 5 ms rate in R2016b|
|Arduino Mega ADK*||Y||Y||Log one signal at 1 kHz or up to 6 signals at 5 ms rate in R2016b|
|Arduino LilyPad USB||N||N|
|Arduino Esplora||N||N||Additional IO supported via analog multiplexer|
|Arduino Robot||N||N||Additional IO supported via analog multiplexer|
|N||N||Mini with ATmega168 not supported|
|Arduino Nano 3.X*
|N||N||Nano 2.X with ATmega168 not supported|
|N||N||Pro with ATmega168 not supported|
|Arduino Ethernet Shield||See Shield Support column for compatibility|
|Arduino WiFi Shield||See Shield Support column for compatibility|
See the hardware support package system requirements table for current and prior version, release, and platform availability.
View enhancements and bug fixes in release notes.
Ask a question or share your files with the MATLAB community.
Before installing the support package, confirm you have the correct setup. View system requirements and installation options.
Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.
One of the following supported Arduino boards: Arduino Uno, Arduino Leonardo, Arduino Due, Arduino Mega 2560, Arduino Mega ADK, Arduino Micro, Arduino LilyPad USB, Arduino Esplora, Arduino Robot, Arduino Mini (ATmega328), Arduino Nano 3.0 (ATmega328), Arduino Pro (ATmega328), Arduino Fio (purchase)
All required third-party software is installed by the Support Package Installer.