Shut down ROS system
rosshutdown shuts down the global node and, if it is running, the ROS
master. When you finish working with the ROS network, use
rosshutdown to shut down the global ROS entities created by
rosinit. If the global node and ROS
master are not running, this function has no effect.
rosshutdown, any ROS entities (objects)
that depend on the global node like subscribers created with
rossubscriber, are deleted and
Prior to calling
clear on these objects for
a clean removal of ROS entities.
Start ROS Core and Global Node
Launching ROS Core... Done in 0.38952 seconds. Initializing ROS master on http://172.29.205.49:54501. Initializing global node /matlab_global_node_45292 with NodeURI http://dcc950485glnxa64:44523/ and MasterURI http://localhost:54501.
When you are finished, shut down the ROS network.
Shutting down global node /matlab_global_node_45292 with NodeURI http://dcc950485glnxa64:44523/ and MasterURI http://localhost:54501. Shutting down ROS master on http://172.29.205.49:54501.
Introduced in R2019b