View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Simulink Support Package for Arduino Uno and Mega 2560 hardware (R2012b)

1.0 | 2 ratings Rate this file 117 Downloads (last 30 days) File Size: 848 KB File ID: #37898 Version: 1.5
image thumbnail

Simulink Support Package for Arduino Uno and Mega 2560 hardware (R2012b)



12 Sep 2012 (Updated )

Simulink block library for creating standalone applications for Arduino Uno and Mega 2560 platforms

| Watch this File

File Information

Arduino ( is a low-cost open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.

In R2012b, Simulink provides built-in support for prototyping, testing, and running models on Arduino Uno and Mega 2560. You can design algorithms in Simulink for control systems and robotics applications, and see them perform with hardware.


Note: Do not use the Download Submission button.

1. Open MATLAB.
2. Enter "targetinstaller" at the MATLAB command prompt.
3. When Target Installer opens, choose Internet, and follow the instructions provided.

Simulink support for Arduino® Uno and Mega 2560 includes the following driver blocks:
• Digital Input and Output
• Analog Input and Output
• Serial Receive and Transmit
• Servo Read and Write

For more details about the Simulink Arduino® support , see:

For additional Simulink built-in support for hardware, see

For R2012a support, see:
Arduino Uno -
Arduino Mega 2560 -

Alternatively, type "targetinstaller" at the R2012a MATLAB command prompt and choose Internet.


This file inspired Controle Moteur à Courant Continu Avec Arduino and Autonomous 4 Wheel Robot Light Tracker Arduino Mega 2560.

Required Products Simulink
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Simulink Support for the Arduino requires a Microsoft Windows platform.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
30 Jan 2017 Michael Wittkopf

The rating still gets 1 star until they fix this, then maybe 2 stars, but they are missing the SPI and ic communication blocks that r2013+ has.

Comment only
30 Jan 2017 Michael Wittkopf

You need to update your target installer. The google code archive has changed addresses.

01 Apr 2015 gayathri raghu

can't download support file please send us the download link

Comment only
03 Aug 2014 Evilmano

27 Nov 2013 Carl Olsson

Support for arduino due would be so good..

Comment only
26 Sep 2013 Md. Ashfaque

Is there any plan of implementing this package for the Arduino Due? The Due is a much better platform and adding support for that would mean I can finally start using them with Simulink. Also, why don't you add some block for I2C and SPI communications. Most sensors and shields for the Arduinos use these serial protocols so this would go a long way in helping users make useful projects.

Comment only
10 Sep 2013 Ravikanth Ananthoju

You can't use this on the older versions due to some limitations.. only from 2012 version onwards.

Comment only
24 Dec 2012 Flavio Lopez


Comment only
19 Dec 2012 Shouvik Das

When can we expect a Arduino DUE Support? It would be great to have it soon.

Comment only
13 Nov 2012 Adrian

Adrian (view profile)

Do you plan to release a support package for the arduino mini some time soon? Or is there another way to use these simulink library block with the mini board?

Comment only
20 Oct 2012 Mick Lovell

Same comment as above. I've got 2009a

Comment only
26 Sep 2012 Arif

Arif (view profile)

Is there anyway to use these blocks in old versions like 2011b ?

Thank you

Comment only
29 Oct 2012 1.2

Updated description

02 Nov 2012 1.3

Updated description

20 Sep 2013 1.4

updated thumbnail and description text

06 Feb 2014 1.5

Update to v2.1 to enable autodownload on non-R3 Arduino Mega 2560 boards

Contact us