This model has 5 components; the Camgear, lever, motor pinion, housing, and a sensor.
The motor pinion drives the camgear which then moves the lever translationally via a curved pin slot joint. The curved pin slot joint is modeled using a lookup table. The curved slot also has hardstop defined using Simscape.
James (2020). Cam Gear Actuated Lever (https://www.mathworks.com/matlabcentral/fileexchange/50651-cam-gear-actuated-lever), MATLAB Central File Exchange. Retrieved .
1. Removed local paths to STL files