Main Content

simscape.multibody.Joint Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.Component

Abstract base class for joints

Since R2022a

Description

simscape.multibody.Joint is the abstract base class for joints, such as prismatic joints and revolute joints. To create a joint, use the object of a subclass, such as simscape.multibody.PrismaticJoint or simscape.multibody.RevoluteJoint.

An object of a joint has two frame connectors called B and F that correspond to the base and follower frames of the object. The connectors link two arbitrary objects together in a simscape.multibody.Multibody object. After being linked, the object connected to the follower frame is able to move in certain ways relative to the object connected to the base frame.

The Joint class has a DegreesOfFreedom property that indicates how many degrees of freedom are between the base and follower frames of a joint object. The value of the DegreesOfFreedom property is the sum of the degrees of freedom of all the joint primitives contained in the joint object.

See the More About section for more information about the Joint class.

Class Attributes

Abstract
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Properties

expand all

Degrees of freedom between the base and follower frames of a joint object, returned as a positive integer. The value is the sum of the degrees of freedom of all the joint primitives contained in the joint object.

Attributes:

GetAccess
public
SetAccess
Restricts access
Transient
true
NonCopyable
true

More About

expand all

Version History

Introduced in R2022a