Main Content

plotStructure

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

Plot structure tree of rigid body

Since R2022a

Description

h = plotStructure(rb) plots the structure tree of the simscape.multibody.RigidBody object, rb. The vertices on the structure tree indicate the frames and component objects of the rb object, and the lines between the vertices show relationships between the frames and component objects. See Tree Structure of RigidBody Object section for more information.

Input Arguments

expand all

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

Output Arguments

expand all

Handle of the plot, returned as a matlab.graphics.chart.primitive.GraphPlot object. See GraphPlot class for more information.

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2022a