Cancel Action Goal
R2026bLibraries:
ROS Toolbox /
ROS 2
Description
The Cancel Action Goal block enables you to cancel an active action goal in a ROS 2 network. This
block accepts the UUID input as a Simulink® non-virtual bus of unique_identifier_msgs/UUID message
type.
Note
To use this block, you must have at least one Send Action Goal that provides the UUID input to this block.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"ros2lib/Cancel Action Goal"
Example: add_block("ros2lib/Cancel Action Goal","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2024a
