https://nl.mathworks.com/help/ros/ref/ros2actionclient.cancelallgoals.html
cancelAllGoals - Cancel all active goals sent by ROS 2 action client - MATLAB
This MATLAB function sends a cancel request for all the active goals sent by the ROS 2 action client, client.
all active
https://ch.mathworks.com/help/ros/ref/cancelallgoals.html
cancelAllGoals - Cancel all goals on action server - MATLAB
This MATLAB function sends a request from the specified client to the ROS action server to cancel all currently pending or active goals, including goals from...
all goalscancelactionservermatlab