File Exchange

image thumbnail

Simscape Multibody Mini Golf Library

version 20.2.5.0 (8.8 MB) by Steve Miller
Components for modeling a mini golf course. Contact forces are demonstrated on a 9-hole course.

3 Downloads

Updated 10 Oct 2020

View Version History

GitHub view license on GitHub

This library contains components for modeling a mini golf course. It includes fixed walls, moving walls, posts, spinning obstacles, putting head, and the hole. A nine-hole course is provided, showing how you can easily build up a set of components and reuse them in different designs. A control system helps you guide the putter to the right position and shoots the ball towards the hole. This example uses the Simscape Multibody Contact Forces Library.

Please read the README.md file to get started.

Use the "Download from GitHub" button above to get files compatible with the latest release of MATLAB.
Use the links below to get files compatible with earlier releases of MATLAB.

For R2020a: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/20.1.5.0.zip
For R2019b: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/19.2.5.0.zip
For R2019a: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/19.1.4.1.zip
For R2018b: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/18.2.4.1.zip
For R2018a: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/18.1.4.1.zip
For R2017b: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/17.2.4.1.zip
For R2017a: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/17.1.3.7.zip
For R2016b: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/16.2.3.5.zip
For R2016a: https://github.com/mathworks/Simscape-Multibody-Mini-Golf/archive/16.1.3.3.zip

See how to defining bodies in Simscape Multibody by watching this video (5 min):
https://www.mathworks.com/videos/defining-rigid-bodies-68845.html

Learn more about multibody simulation with Simscape Multibody by watching this webinar
https://www.mathworks.com/videos/multibody-simulation-with-simmechanics-81877.html

Find other Simscape examples by searching posts for the keyword "physical modeling"
https://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

Learn more about MathWorks Simscape Products:
https://www.mathworks.com/physical-modeling/

You may reuse this content, with or without modification, in your work.
Please follow the conditions of the license file and use the following citation:
[1] Miller, Steve (2018), Simscape Multibody Mini Golf Library (https://www.mathworks.com/matlabcentral/fileexchange/36541) MATLAB Central File Exchange. Retrieved on <date you downloaded submission>

Cite As

Steve Miller (2020). Simscape Multibody Mini Golf Library (https://github.com/mathworks/Simscape-Multibody-Mini-Golf/releases/tag/20.2.5.0), GitHub. Retrieved .

Comments and Ratings (9)

Steve Miller

Hi Zhen - I can email you a version that runs in R2014a if you send me your email address.

zhen

why the files couldn't be used in R2014a?

Mikhail

Steve Miller

Thanks Matthew! I've submitted an update with the README.txt and fixes the "Run All" issue. It will be live later today. --Steve

Matthew

Looks like an awesome add-on library.
Issues:
1) No readme.txt file is included (one is included with separate Contact Force Library submission)
2) Certain functions are not available for loading (e.g., under play all).

3 star rating will be reviewed.

Wang Ya

Arielle

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.

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.

Aditya

MATLAB Release Compatibility
Created with R2020b
Compatible with R2015a to R2020b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!