https://uk.mathworks.com/help/nav/ref/navpathcontrol.append.html
append - Add states to end of path - MATLAB
This MATLAB function adds a sequence of states states, controls controls, targets targets, and durations durations, to the end of the path.
end of pathadd statesappendmatlab