Main Content

jointPrimitivePaths

Class: simscape.multibody.Multibody
Package: simscape.multibody

Return paths of joint primitives in Multibody object at all hierarchical levels

Description

primPaths = jointPrimitivePaths(mb) returns the paths of the joint primitives in the entire hierarchy of the simscape.multibody.Multibody object, mb.

It is useful to display the paths of joint primitives in a Multibody object when targeting joint primitives in the Multibody object by using a simscape.op.OperatingPoint object.

Input Arguments

expand all

Multibody system, specified as a simscape.multibody.Multibody object.

Output Arguments

expand all

Paths of the joint primitives in the entire hierarchy of the Multibody object, returned as a string array.

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2022a