ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi, you should follow the documentation from mathworks to launch a roscore and create a node in matlab. Then you can add a publisher to your node by using, in matlab :

publisher = rosmatlab.publisher('your_topic_name', 'std _ msgs/Int32', your_node);