Main Content

delete

Remove reference to ROS 2 node

Since R2019b

Description

delete(node) removes the reference in node to the ROS 2 node on the network. If no further references to the node exist, such as would be in publishers and subscribers, the node is shut down.

Input Arguments

collapse all

A ros2node object on the network.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2019b

See Also