SimMechanics    

Bodies, Coordinate Systems, Joints, and Constraints

SimMechanics supports user-defined Body blocks specified by their masses and inertia tensors. You connect the bodies to one another with joints representing the possible motions of bodies relative to one another, the system's degrees of freedom (DoFs). You can impose kinematic constraints on the allowed relative motions of the system's bodies. These constraints impose restrictions on body DoFs or drive body motions as explicit functions of time.

The SimMechanics interface gives you many ways to specify coordinate systems (CSs), constraints/drivers, and forces/torques. You can

User-Defined Local Coordinate Systems

SimMechanics automatically sets up a single absolute inertial reference frame and coordinate system (CS) called World. You can also set up your own Local CSs:

Constraint Solver Types

Specifying functional algebraic or kinematic relations between any two DoFs, you can constrain the motion of the system by connecting Constraint blocks to pairs of Bodies. Connecting Driver blocks applies time-dependent constraints.

The applied constraints are interpreted in one of three constraint solver types: tolerancing, machine precision, or stabilizing solvers.

Sensors and Actuators

Sensors and Actuators are the blocks you use to interface between non-SimMechanics Simulink blocks and SimMechanics blocks:


  What Can You Do with SimMechanics? Simulating Mechanical Motion