Main Content


Copy UAV scenario

Since R2022a


    sceneCopy = copy(scene) creates a deep copy of a uavScenario object. The copy has the same properties as the original with the exception of properties that store simulation states such as CurrentTime.

    Input Arguments

    collapse all

    UAV scenario, specified as a uavScenario object.

    Output Arguments

    collapse all

    Deep copy of the UAV scenario, returned as a uavScenario object. The object is of the same object type, has the same properties, and contains the same platforms, sensors, and meshes as the object specified to scene. The copy function does not copy simulation states such as CurrentTime from scene.

    Version History

    Introduced in R2022a

    See Also