I don't believe that the "official" toolbox syntax is meant to play together with the "robotics.ros.Node" stuff that's hidden away in the background.
If you start a ROS master using rosinit , it doesn't create a robotics.ros.Node object in the base workspace. This is where your questions comes in, in that you can't find an object with that name.
That being said, if you use the rospublisher function, this publisher will by default be associated with the /matlab_global_node_#### node that was created.
So, it seems that if you create a node using rosinit , you must create the publisher using rospublisher . If you create a node using robotics.ros.Node , you must create the publisher using robotics.ros.Publisher .
- Sebastian
Best Answer