Main Content

componentPaths

Class: simscape.multibody.RigidBody
Package: simscape.multibody

Return paths of component objects in RigidBody object

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