View License

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

» Watch video

Highlights from
Arduino Blink Challenge Simulink Models

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

3.7 | 3 ratings Rate this file 19 Downloads (last 30 days) File Size: 282 KB File ID: #35994 Version:
image thumbnail

Arduino Blink Challenge Simulink Models


Brian McKay (view profile)


14 May 2012 (Updated )

Simulink models that solve the Arduino Blink Challenge.

| Watch this File

File Information

A set of Simulink models that solve the Arduino Blink challenge. The "blink challenge" is described in the last part of the Ladyada Arduino tutorial, The controlled circuit switches between four modes: all LEDs off, all LEDs on, LEDs blinking simultaneously, and LEDs cycling at a specified frequency.
There are 2 solutions, one using Simulink blocks, and one using Stateflow state charts.

These models require R2012a, and use the new Simulink built-in support for prototyping, testing, and running models on Arduino Uno/Arduino Mega. These models have been tested on an Arduino Uno.

For more information on Simulink built-in support for Arduino boards, see:

For more information on Simulink built-in support for hardware, see:

Required Products Simulink
MATLAB release MATLAB 7.14 (R2012a)
Other requirements * Requires 32-bit or 64-bit Windows * Simulink Support Package for Arduino Uno or Mega (type “targetinstaller” at the MATLAB command line and follow instructions)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
30 Jan 2014 humza

humza (view profile)

16 Sep 2013 Paul Kassebaum

Thanks for these examples!

19 May 2013 shri raje

unable to communicate with arduino mega 2560, simulink replying error as "unable to download program to arduino", though it is well detected by simulink.

22 May 2012 1.5

Update to license type, included preview images

01 Sep 2016

Updated license

Contact us