copy

Create a deep copy of rigid body

Description

copyObj = copy(bodyObj) creates a copy of the rigid body object with the same properties.

Input Arguments

collapse all

RigidBody object, specified as a handle. Create a rigid body object using rigidBody.

Output Arguments

collapse all

RigidBody object, returned as a handle. Create a rigid body object using rigidBody.

Introduced in R2016b