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')" .
In simulink when i try to select the message type it comes up with an error as shown in attachment.
My custom message is there is rosmsg list but i cannot access it. Please help.