Code covered by the BSD License  


5.0 | 1 rating Rate this file 33 Downloads (last 30 days) File Size: 3.34 MB File ID: #36541
image thumbnail

Contact Force Examples in SimMechanics (Mini Golf)



07 May 2012 (Updated )

Examples of 2D contact forces (planar) in SimMechanics, including a mini golf game with 9 holes.

| Watch this File

File Information

This file contains example contact forces built for SimMechanics and a set of demonstration models showing how to use them. Combining these fundamental contact forces enables you to model contact forces between more complex geometrical shapes. A few simple demonstration models are provided to get you started.
In addition, a model implementing a 9-hole miniature golf course is included. This shows how you can easily build up a set of components and reuse them in different designs.

Please read the README.txt file to get started.

To see how to defining bodies in SimMechanics, watch this video (5 min):

To learn more about multibody simulation with SimMechanics, please watch the webinar, “Multibody Simulation with SimMechanics".

To find other physical modeling examples, search for posts with the keyword "physical modeling"

To learn more about MathWorks Physical Modeling Products, go to:

Required Products SimMechanics
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Jan 2013 Steve Miller

Aditya -- no low pass filter is required, so no I'm not using one. Some form of delay would be required if the formulation I used created an algebraic loop in Simulink, but the way I modeled it no loop is created.

09 Jan 2013 Aditya

Hi Steve,
Great model.
In the contact force model it does not seem like you are using the low pass filter? Is that the case.


25 Sep 2012

Added an updated version for R2012b and beyond.

15 Jul 2013

Updated link to "Defining Rigid Bodies" video. No changes to files in the submission.

17 Apr 2014

Fixed webinar link.

Contact us