This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


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.


After calling rosshutdown, any ROS entities (objects) that depend on the global node like subscribers created with rossubscriber, are deleted and become unstable.

Prior to calling rosshutdown, call clear on these objects for a clean removal of ROS entities.


collapse all

Initializing ROS master on http://bat800809glnxa64:37641/.
Initializing global node /matlab_global_node_70040 with NodeURI http://bat800809glnxa64:42291/

When you are finished, shut down the ROS network.

Shutting down global node /matlab_global_node_70040 with NodeURI http://bat800809glnxa64:42291/
Shutting down ROS master on http://bat800809glnxa64:37641/.

See Also

Introduced in R2015a