File Exchange

image thumbnail

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

version 2.2.0 (847 KB) by

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

207 Downloads

Updated

View License

Arduino (www.arduino.cc) 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.
--------------
SPECIAL INSTALLATION INSTRUCTIONS

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:

www.mathworks.com/hardware-support/arduino-simulink.html

For additional Simulink built-in support for hardware, see

http://www.mathworks.com/discovery/simulink-embedded-hardware.html

--------------
For R2012a support, see:
Arduino Uno -
www.mathworks.com/matlabcentral/fileexchange/35639
Arduino Mega 2560 -
http://www.mathworks.com/matlabcentral/fileexchange/35641

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

Comments and Ratings (13)

its very good and much helpful.

thanks to all.

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.

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

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

Evilmano

Carl Olsson

Support for arduino due would be so good..

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.

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

Flavio Lopez

dgg

Shouvik Das

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

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?

Mick Lovell

Same comment as above. I've got 2009a

Arif

Arif (view profile)

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

Thank you

Updates

2.2.0

Arduino is archiving old IDE versions in a different server compared to the newer versions. For 12a and 12b, the download links are hardcoded. We recommend upgrading MATLAB to a newer release to avoid this issue in the future.

1.5

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

1.4

updated thumbnail and description text

1.3

Updated description

1.2

Updated description

MATLAB Release
MATLAB 8.0 (R2012b)

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

» Watch video

arduino/blocks/

arduino/setup/

arduino/blocks/