MATLAB Answers

How to use ROS custom message in Matlab?

2 views (last 30 days)
Yashwanth AVS
Yashwanth AVS on 5 Feb 2019
Edited: Tohru Kikawada on 5 May 2019
I have followed the tutorial of creating a custom message in Matlab ( ). 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
Did you add paths to the generated Java classes to your javaclasspath.txt?

Sign in to comment.

Answers (0)