simscape.multibody.MassDistribution Class
Namespace: simscape.multibody
Superclasses: simscape.multibody.Inertia
Description
Use an object of the simscape.multibody.MassDistribution
class to construct
a custom mass distribution that explicitly specifies the mass, center of mass, moments of
inertia, and products of inertia. The mass distribution has an implicit reference frame. If
you use a simscape.multibody.MassDistribution
object to specify the mass
distribution of a solid, the implicit reference frame is coincident with the reference frame
of the solid.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
constructs a custom mass distribution using default values.mdmass
= simscape.multibody.Massdistribution
constructs a custom mass distribution and sets the total mass to
mdmass
= simscape.multibody.Massdistribution(mass
)mass
.
constructs a custom mass distribution and also sets the specified center of mass to
mdmass
= simscape.multibody.Massdistribution(mass
,com
)com
.
constructs a custom mass distribution and also sets the moments of inertia to
mdmass
= simscape.multibody.Massdistribution(mass
,com
,moi
)moi
.
constructs a custom mass distribution and also sets the products of inertia to
mdmass
= simscape.multibody.Massdistribution(mass
,com
,moi
,poi
)poi
.
Properties
Methods
Version History
Introduced in R2022a