Unpack the files in a folder.
From the Matlab Command Window, go in this folder and type "help BuildTrajectoryGenerator".
Examples are contained in the help. 