Main Content

Custom Message Support

Generate ROS 2 and ROS custom messages and register them to MATLAB®

You can create your own ROS and ROS 2 custom messages and use them in MATLAB and Simulink® with ROS and ROS 2 networks to transmit information. You can also replace the built-in messages with new or custom definitions. To learn the requirements for generating custom messages, see ROS Custom Message Support and ROS 2 Custom Message Support.

Note

As of May 31, 2025, ROS 1 has reached end of life and is no longer officially supported. Migrating to equivalent ROS 2 features in ROS 2 Custom Message Support is recommended to access the latest features and updates.

Categories

Featured Examples