Control a Raspberry Pi powered robot with MATLAB and Simulink
Updated 2 May 2016
This project shows you how to control a Raspberry Pi powered robot from both MATLAB and Simulink.
Take basic control of your robot from MATLAB and prototype an image processing technique for target tracking. The default target is a green rectangle of 75x75mm.
Once the target is identified, use Simulink to deploy a control system to the robot such that it can autonomously drive to the target.
With the Simulink® Support Package for Raspberry Pi™, you can design signal or image processing algorithms and applications that run standalone on your Raspberry Pi. You can also develop more elaborate algorithms using Stateflow, DSP System Toolbox, and Computer Vision System Toolbox.
We can also say that this entry was inspired by the “Simulink Support Package for Raspberry Pi Hardware” File Exchange entry.
MathWorks Simulink Team (2023). Control a Raspberry Pi powered robot with MATLAB and Simulink (https://github.com/mathworks/RaspberryPiRobot), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Simulink > Simulink Supported Hardware >
- Image Processing and Computer Vision > Computer Vision Toolbox > Computer Vision Toolbox Supported Hardware >
- Engineering > Electrical and Computer Engineering > Robotics >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Updated link to Github.