Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to use ROS custom message in Matlab?

2 次查看(过去 30 天)
Yashwanth AVS
Yashwanth AVS 2019-2-5
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Tohru Kikawada
Tohru Kikawada 2019-5-5
编辑:Tohru Kikawada 2019-5-5
Did you add paths to the generated Java classes to your javaclasspath.txt?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by