5.0

5.0 | 2 ratings Rate this file 32 Downloads (last 30 days) File Size: 3.18 KB File ID: #42281

Animation example - Crank Mechanism

by Stefan Björklund

 

18 Jun 2013

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File  
Everyone's Tags
demo(2), gui, modeling, simulation, teaching recursive function calls
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
19 Jun 2013 Shahab  
19 Jun 2013 Andreas

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

Contact us