Main Content

componentPaths

Class: simscape.multibody.RigidBody
Namespace: simscape.multibody

Return paths of component objects in RigidBody object

Since R2022a

Description

paths = componentPaths(rb) returns the paths of the component objects in the entire hierarchy of the simscape.multibody.RigidBody object, rb.

Input Arguments

expand all

Rigid body, specified as a simscape.multibody.RigidBody object.

Output Arguments

expand all

Paths of the component objects in the entire hierarchy of the RigidBody object, returned as a string array.

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2022a