Metronome using SimMechanics

version (11 KB) by Parasar Kodati


Updated 1 Sep 2016

View License

I started with the demo of a simple pendulum: mech_spen in MATLAB® and simply added joints and bodies as they exist for the pendulum stand. To get the sliding motion with friction I used a Prismatic joint and used the velocity to compute a force dampening the sliding motion. So my model does not explicitly model the rollers on which the pendulum stand rocks.
Now the problem is that the synchronization does not happen and I am not sure what goes into a metronome that synchronizes the pendulums. Any comments/suggestions are welcome.

Cite As

Parasar Kodati (2022). Metronome using SimMechanics (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!