Slider Crank Linkage
This example models a slider-crank mechanism using parts from the Simscape Multibody Parts Library.
This subsystem combines a few parts to model the slider. Block Transform F creates the interface frame that is properly oriented for the translational degree of freedom.
Simulation Results from Simscape Logging
This plot shows the position of the slider in the slider-crank mechanism.