simscape.multibody.GeneralInertia Class
R2026bNamespace: simscape.multibody
Description
Use an object of the simscape.multibody.GeneralInertia class to specify
mass, center of mass, moments of inertia, and products of inertia. The object has an implicit
reference frame. You can use a GeneralInertia object to define the
Inertia property of a simscape.multibody.GeneralSolid object. When assigned to a GeneralSolid, the implicit reference frame coincides with the reference frame of
the solid.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
For information on class attributes, see Class Attributes.
Creation
Description
creates an inertia object with
default property values.inertia =
simscape.multibody.GeneralInertia
creates an inertia object with the specified mass. The center of mass, moments of
inertia, and products of inertia use zero values.inertia =
simscape.multibody.GeneralInertia(mass)
creates an inertia object with the specified mass and center of mass.inertia =
simscape.multibody.GeneralInertia(mass,centerOfMass)
creates an inertia object with the specified mass, center of mass, and moments of
inertia.inertia =
simscape.multibody.GeneralInertia(mass,centerOfMass,momentsOfInertia)
creates an inertia object with the specified mass, center of mass, moments of
inertia, and products of inertia.inertia =
simscape.multibody.GeneralInertia(mass,centerOfMass,momentsOfInertia,productsOfInertia)
Properties
Methods
Examples
Version History
Introduced in R2026b