File Exchange

image thumbnail

Simscape Multibody Parts Library

version 20.2.4.0 (10.2 MB) by Steve Miller
Parameterized parts for Simscape Multibody, with gear assemblies and MATLAB code for extrusions

56 Downloads

Updated 10 Oct 2020

View Version History

GitHub view license on GitHub

This set of examples shows you how to create parameterized parts for Simscape Multibody and example MATLAB scripts for defining general extrusions. The parts have been used in a wide range of examples to show how these blocks enable you to rapidly model mechanisms. Within the library are a set of gear assemblies. The parameterized gear assemblies group the required blocks together and parameterize them so that frames are always positioned and oriented correctly.

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-Parts-Library/archive/20.1.4.0.zip
For R2019b: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/19.2.4.0.zip
For R2019a: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/19.1.3.0.zip
For R2018b: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/18.2.3.0.zip
For R2018a: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/18.1.2.4.zip
For R2017b: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/17.2.2.3.zip
For R2017a: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/17.1.2.2.zip
For R2016a: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/16.1.1.8.zip
For R2013a: https://github.com/mathworks/Simscape-Multibody-Parts-Library/archive/13.1.1.2.zip

To see how to defining bodies in Simscape Multibody, watch this video (5 min):
https://www.mathworks.com/videos/defining-rigid-bodies-68845.html

To learn more about multibody simulation with Simscape Multibody, please watch this webinar:
http://www.mathworks.com/videos/multibody-simulation-with-simmechanics-81877.html

To find other Simscape examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Simscape Products, go to:
https://www.mathworks.com/solutions/physical-modeling.html

Cite As

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

Comments and Ratings (9)

Ashish Ranjan

Steve Miller

Thanks Daniel. I considered adding the number of points as an optional parameter for Extr_Data_Ring. I decided to keep the list of parameters as short as possible, and hopefully the code is clear enough for people to extend it. Now that I have seen that this is necessary for some use cases, I'll consider adding it for all Extr_Data_* scripts that include arcs. Thanks for the feedback.

Daniel Stuewe

Steve, I mostly use the Contact Forces Library, but I noticed that the ring extrusion script is used here. Anyway, the visualization of the ring extrusion is clocked every degree which is probably okay in many cases, but I found the need to have the visualization of rings have more refinement. I've gone in and modified the Extr_Data_Ring script to divide the arc into 1000 divisions so it works for me, but I thought I'd throw it out there as a suggestion to refine the angular spacing of rings. (BTW, I've also noticed that visualizations of solid bodies using the Simscape Multibody "Solid" block are similarly coarse.)

Pavel Osipov

sashank Tirumala

cattylover

Aidan Zimmerman

Hi Steve,
I'm a bit new to Simulink, how do I get your excellent libraries to get into the standard simulink Library browser?

Thanks!

Carlos Moran

Benjamin

MATLAB Release Compatibility
Created with R2020b
Compatible with R2013a 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!

Examples/Extrusions/Conveyors/XTS_1

Examples/Extrusions/Conveyors/XTS_1/Scripts_Data

Examples/Gears/Differential

Examples/Gears/Simple

Examples/Gears/Water_Lift

Examples/Gears/Water_Lift/Scripts_Data

Examples/Linkages

Examples/Pulleys/Simple/ThreePulleys

Examples/Pulleys/XY_Table_Cross

Examples/Pulleys/XY_Table_Cross/Scripts_Data

MPL_Core/Libraries

MPL_Core/Libraries/Extrusions

MPL_Core/Scripts_Data

MPL_Core/Test_Models/Gears

Scripts_Data