component
Class: simscape.multibody.RigidBody
Namespace: simscape.multibody
Syntax
Description
extracts a component object, C
= component(rb
,path
)C
, from the simscape.multibody.RigidBody
object, rb
. The
path
argument is the path of the component object in the
rb
object and can have more than one elements. In other words, the
component
method can extract an object from any hierarchical level of the
rb
object.
The extracted object is a copy of the original component object. Therefore, any subsequent changes for the extracted copy do not affect the original object.
Input Arguments
Output Arguments
Version History
Introduced in R2022a