Main Content

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.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2016b