File Exchange

image thumbnail

Animation example - Crank Mechanism

version 1.0 (3.18 KB) by

This is an example of how to animate a mechanism in Matlab.

1 Download

Updated

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.

Comments and Ratings (2)

Shahab

Shahab (view profile)

Nice example for people interested in learning how to make their own GUIs. Comprehensive commenting.

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video