View License

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

» Watch video

Highlights from
Simulink Library for Zumo Robot

4.0 | 8 ratings Rate this file 42 Downloads (last 30 days) File Size: 912 KB File ID: #45886 Version: 1.4
image thumbnail

Simulink Library for Zumo Robot



29 Apr 2014 (Updated )

A library of blocks to get started with the Zumo Robot

| Watch this File

File Information

This Simulink Library provides driver blocks for all the sensors present on the Zumo Robot as well as example models showing their usage.
For more information about Zumo Robot for Arduino, please refer to:


Device Drivers, Simulink Support Package For Arduino Hardware, and Sparkfun Red Bot Block Library inspired this file.

This file inspired Simulink Library For Mini Q Robot.

Required Products Simulink
MATLAB release MATLAB 8.3 (R2014a)
Other requirements Simulink Support Package for Arduino
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
21 Aug 2016 xalap

xalap (view profile)

Hm, also the LineFollowing model won't compile anymore.

LineFollowing.c:116:1: error: unable to find a register to spill in class 'POINTER_REGS'
} void LineFollowing_derivatives ( void ) { jbt2dxy1wr * _rtXdot ; _rtXdot =
LineFollowing.c:116:1: error: this is the insn:
(insn 674 673 676 50 (set (reg:SF 183 [ D.3998 ])
(mem:SF (post_inc:HI (reg:HI 16 r16 [orig:233 ivtmp.21 ] [233])) [4 MEM[base: _342, offset: 0B]+0 S4 A8])) LineFollowing.c:26 99 {*movsf}
(expr_list:REG_INC (reg:HI 16 r16 [orig:233 ivtmp.21 ] [233])
LineFollowing.c:116: confused by earlier errors, bailing out
gmake: *** [LineFollowing.o] Error 1

21 Aug 2016 xalap

xalap (view profile)

The install script still requires a revision (See comment from Phoenix Wang)

12 Jul 2016 Aye Chan

how can i get the real time data or plot of zumo robot by using matlab simulink.
anyway, great invention.

08 Dec 2015 tin zar khaing wai

i am using matlab R2014a with simulink and i can drive the motor successfully.but i can't download the other zumo library example to my shows the error message.

Comment only
11 Oct 2015 Phoenix Wang

After an update to the arduino libraries, in the latest Arduino Hardware Support Package, the support package was restructured and the folder was renamed from "arduino" to "arduinobase"

The original installation script references the old libraries, so there is a need for a change in the script.

Simple Instructions to Install:
Navigate to the zumo_library folder once it's extracted.

And double click "install_zumobotlib.m"

A script editor window should open up, and then go to line 49, which should say "installOutputPath = arduinopath(1:strfind(arduinopath,fullfile('arduino','blocks','arduinolib.slx'))-1);"

Since the script is trying to find a string with the right folder name, change "arduino" to "arduinobase"

Line 49 should now say "installOutputPath = arduinopath(1:strfind(arduinopath,fullfile('arduinobase','blocks','arduinolib.slx'))-1);"

Hit "Save" (or cmd/crtl + S) and close the script editor.

Then type install_zumobotlib in the command window as you normally would and the zumobotlib should automatically install.

21 Apr 2015 Giuseppe Ridinò

Just a comment about the description, you refer to Pololu item #2506 which is discontinued, see

Does it work also with Pololu item #2508,

BTW, great submission, I love it!

31 Mar 2015 Giuseppe Ridinò

Just a comment about the description, you refer to Pololu item #2506 which discontinued, see

Does it works also with Pololu item #2508,

BTW, great submission, I love it!

29 Jan 2015 Paul Kassebaum

28 May 2014 WU

WU (view profile)

29 Apr 2014 1.3

update with stable Magnetometer

09 May 2014 1.4

added acknowledgements

Contact us