How to use ROS custom message in Matlab?
I have followed the tutorial of creating a custom message in Matlab ( https://in.mathworks.com/help/robotic... ). Everything is fine I can see my message type in the 'rosmsg list' but couldn't access it in Matlab/Simulink. It says " Cannot find a MATLAB message class for type z_pack/end " in Matlab when i try "a=rosmsg('show','z_pack/end')" .
I have a feeling you'll stand a better chance of getting (good) answers by asking this on the Mathworks support forum.
You could also try using numpy as an alternative to Matlab
As far as I remember matlab was restoring the custom messages to a specific directory. My fix was to delete the contents of the directory and build it again whenever I made changes in the custom messages.