Info

This question is closed. Reopen it to edit or answer.

How to use ROS custom message in Matlab?

1 view (last 30 days)
Yashwanth AVS
Yashwanth AVS on 5 Feb 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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.
  1 Comment
Tohru Kikawada
Tohru Kikawada on 5 May 2019
Edited: Tohru Kikawada on 5 May 2019
Did you add paths to the generated Java classes to your javaclasspath.txt?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!