Main Content

copy

Copy flight trajectory

    Description

    trajCopy = copy(traj) creates a deep copy of a fixedwingTrajectory or a multirotorFlightTrajectory object. The copy has the same properties as the original.

    Input Arguments

    collapse all

    Flight trajectory, specified as a multirotorFlightTrajectory or fixedwingFlightTrajectory object.

    Output Arguments

    collapse all

    Deep copy of the flight trajectory, returned as a multirotorFlightTrajectory object or a fixedwingFlightTrajectory object. The copy is of the same object type, and has the same properties, as the object specified to traj.

    Version History

    Introduced in R2022b