You can use Simulink® to program algorithms that run on the Arduino®, an inexpensive, open-source microcontroller board. Arduino boards feature Atmel® ATmega and ARM Cortex microprocessors and provide digital and analog connectivity and serial communications.
You can use Simulink to create algorithms for control system and robotics applications and then simulate to verify that your algorithms work during simulation. With the click of a button, you can download and run the algorithms on the embedded processor on the Arduino board.
Simulink support for low cost hardware on the Arduino platform includes:
There are two support packages, depending on the Arduino hardware you use. Review the following list, and click the appropriate button to get your support package now.
|Arduino Board||Shield Support||Interactive Tuning and monitoring||Comments||Support Package|
|Arduino Due*||Y||Y||DAC and CAN channels not currently supported.|
|Arduino Mega 2560*||Y||Y|
|Arduino Mega ADK*||Y||Y|
|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|
Available on 32-bit and 64-bit Microsoft® Windows®, 64-bit Mac OS X and 64-bit Linux®.
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.
For Arduino Due, see table at left or click the following link:
For other Arduino boards, see table at left or click the following link:
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.