Why does MATLAB change the name of my ROS 2 custom messages?

4 views (last 30 days)
For some reason when making ROS 2 custom messges I got an error message that files may not have the standard names.
For example, Gpgga.msg used to be gpgga.msg. After modification the MSG file names are changed.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Nov 2022
The reason for the change in naming of your messages is because ROS follows strict rules for message names. See the link below under “Property Naming From Messages Fields” for details: 

More Answers (0)


Find more on ROS Custom Message Support in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!