Getting Started with MATLAB, Simulink, and ROS

Resources for getting started with MATLAB and Simulink and the Robot Operating System (ROS).
Updated 16 Oct 2019

This entry contains files for the "Getting Started with MATLAB and ROS", "Getting Started with Simulink and ROS", "Deploying Algorithms to ROS", and "Designing Distributed Systems with ROS" episodes of the MATLAB and Simulink Robotics Arena.
You will find MATLAB and Simulink templates to help you get started with common programming and modeling practices for connecting MATLAB and Simulink to the Robot Operating System (ROS).
In addition, this entry contains an object tracking example implemented using several of the templates above. You can try this example with your webcam, the Gazebo simulator, or ROS enabled robot hardware.
For more information, refer to the file included.

To try ROS and Gazebo, download a virtual machine at

Cite As

MathWorks Student Competitions Team (2024). Getting Started with MATLAB, Simulink, and ROS (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with R2017b and later releases
Platform Compatibility
Windows macOS Linux
Find more on Get Started with MATLAB in Help Center and MATLAB Answers

Inspired: MATLAB and Simulink ROS Tutorials

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

Linked to GitHub.

Added multitasking object tracking models.

Added updates from the new "Designing Distributed Systems with ROS" video, including partitioned algorithm models and ROS custom messages.

Updated sample time settings in blocks to follow Simulink best practices.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.