Main Content

clone

Create copy of tracking scenario

Description

example

newScenario = clone(scenario) creates a copy of the trackingScenario scenario.

Examples

collapse all

Create a tracking scenario object.

scene = trackingScenario;

Create a copy of the scenario, scene.

newScene = clone(scene)
newScene = 
  trackingScenario with properties:

     IsEarthCentered: 0
          UpdateRate: 10
      SimulationTime: 0
            StopTime: Inf
    SimulationStatus: NotStarted
           Platforms: {}

Input Arguments

collapse all

Tracking scenario, specified as a trackingScenario object.

Output Arguments

collapse all

Copy of tracking scenario, returned as a trackingScenario object.

Introduced in R2020b