File Exchange

image thumbnail

Obstacle Avoidance using LEGO Mindstorms EV3 and Simulink

version (6.09 MB) by Madhu Govindarajan
This package contains files necessary to build your own robot that can avoid obstacles


Updated 12 Oct 2016

View Version History

View License

This package shows how to get started with the LEGO Mindstorms EV3 support from Simulink and build an obstacle avoiding rover. This uses the Simulink support package to communicate with the robot and uses Simscape Multibody for the 3-D simulation environment.
This project shows how Simulink helped us - 1) simulate and understand robot behavior before deploying the same code onto the robot and 2) Tune parameters and monitor signals from Simulink while the code is still running on the robot without having to recompile. The project also shows basics of Control System Design - data acquisition, parameter estimation and motor controller design.

Cite As

Madhu Govindarajan (2021). Obstacle Avoidance using LEGO Mindstorms EV3 and Simulink (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)

Iwasaki Yoshiro

Guolong Jiang

Very good! Thanks!

Sala Darenfed

The simulink Estimation program reports:

Error executing callback 'ClickFcn'
Undefined function 'speload' for input arguments of type 'char'.

Please consider adding the missing folder 'scripts'.

Sala Darenfed

Excellent topics for mechatronics.

Adrian Conteron

Jhosetp Vigo

Nixon Xavier

Great concepts for connecting the real world with Mathematical simulations.

Shiva Teja


Muthu Annamalai

Pavel Roslovets

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!