MATLAB Answers

How can I make MATLAB recognize 'rosgenmsg' ?

17 views (last 30 days)
Fady Aziz
Fady Aziz on 22 Mar 2016
Answered: Christoph Manss on 29 Oct 2020
I have installed MATLAB R2016a and followed the instructions for 'roboticsaddons' found here http://www.mathworks.com/help/robotics/ref/roboticsaddons.html Then I was back here http://www.mathworks.com/help/robotics/ug/ros-custom-message-support.html and tried to use 'rosgenmsg' but it was not found.
Can Anyone help me ?
Fady

  1 Comment

Shantnu Kakkar
Shantnu Kakkar on 24 Nov 2017
I have the same problem. Tried this: https://www.mathworks.com/matlabcentral/answers/269886-ros-custom-message-support-not-found-after-matlab-restart. But still it doesnt't work

Sign in to comment.

Answers (1)

Christoph Manss
Christoph Manss on 29 Oct 2020
As far as I know, you need to install the "ROS Toolbox interface for ROS Custom Messages", which can be found in the ADDOn-Manager, to run rosgenmsg().
This solved the problem for me

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!