ROS Toolbox System Requirements
To generate custom messages for ROS or ROS 2, or deploy ROS or ROS 2 nodes from MATLAB® or Simulink® software, you must build the necessary ROS or ROS 2 packages. To build these
packages, you must have Python® software, CMake software, and a C++ compiler for your platform. To connect to ROS
and ROS 2 networks with the
rosinit function, you must install and set up the
required version of Python.
To generate and deploy ROS or ROS 2 nodes from MATLAB or Simulink, you must also have a MATLAB Coder™ or Simulink Coder license respectively. To generate and deploy CUDA® optimized ROS or ROS 2, you must have a GPU Coder™ license.
The nodes in MATLAB and Simulink software can still communicate with ROS or ROS 2 nodes in ROS or ROS 2 distributions that are not included in Recommended ROS and ROS 2 Distributions, only if the message definitions are the same.
Recommended ROS and ROS 2 Distributions
Release-wise Support for Recommended ROS and ROS 2 Distributions
|ROS 2 Distribution
|R2020b to R2021b
|R2019b to R2020a
|R2016 to R2019a
Configure Python Environment
Release-wise Information to Configure Python Environment
|Configure Python Environment
|R2022b and onwards
|Prior to R2022b