Main Content

simscape.multibody.PointMass Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.Inertia

Construct point mass

Since R2022a

Description

Use an object of the simscape.multibody.PointMass class to construct a point mass. The moments of inertia and products of inertia of a point mass are zero.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

pmass = simscape.multibody.PointMass constructs a point mass with default values.

pmass = simscape.multibody.PointMass(mass) constructs a point mass with the specified total mass, mass.

Properties

expand all

Mass of the point mass, specified as a simscape.Value object that represents a scalar with a unit of mass.

Example: simscape.Value(10,"kg")

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a