Animation example - Crank Mechanism

This is an example of how to animate a mechanism in Matlab.
1K Downloads
Updated 18 Jun 2013

View License

This animation example of a mechanism is used to show students how Matlabs graphical user interface can be used for animations. A crank mechanism is animated and the user can change animation speed and piston rod length. The code is reasonably commented to explain the steps taken and the idea is that the students can use the code as a start to create their own animations. Anyone to use this code needs at least an introductory lecture about Matlab GUI's and how to use objects.

Cite As

Stefan Björklund (2024). Animation example - Crank Mechanism (https://www.mathworks.com/matlabcentral/fileexchange/42281-animation-example-crank-mechanism), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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!
Version Published Release Notes
1.0.0.0