Main Content

copy

Create copy of path object

Description

example

path2 = copy(path1) creates a copy of the path object, path2, from the path object, path1.

Examples

collapse all

Create a navPath object.

path = navPath
path = 
  navPath with properties:

    StateSpace: [1x1 stateSpaceSE2]
        States: [0x3 double]
     NumStates: 0

Create copy of navPath object.

pathNew = copy(path)
pathNew = 
  navPath with properties:

    StateSpace: [1x1 stateSpaceSE2]
        States: [0x3 double]
     NumStates: 0

Input Arguments

collapse all

Path object, specified as a navPath object.

Data Types: object

Output Arguments

collapse all

Path object, returned as a navPath object.

Data Types: object

Version History

Introduced in R2019b

See Also