Main Content

clone

Create copy of tracking scenario

Since R2020b

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: {}
      SurfaceManager: [1x1 fusion.scenario.SurfaceManager]

Input Arguments

collapse all

Tracking scenario, specified as a trackingScenario object.

Output Arguments

collapse all

Copy of tracking scenario, returned as a trackingScenario object.

Version History

Introduced in R2020b