This file contains a library and example models showing how to extend Simscape Multibody 3D models with physical effects modeled in Simscape. Simple demonstration models of hydromechanical and electromechanical systems are provided to show how to create complete system models to test integrated designs.
Please read the README.txt file to get started.
See how to defining bodies in Simscape Multibody by watching this video (5 min):
Learn more about multibody simulation with Simscape Multibody by watching this webinar
Find other Simscape examples by searching posts for the keyword "physical modeling"
Learn more about MathWorks Simscape Products:
Steve Miller (2019). Simscape Multibody Multiphysics Library (https://www.mathworks.com/matlabcentral/fileexchange/37636-simscape-multibody-multiphysics-library), MATLAB Central File Exchange. Retrieved .
Hi Steve, Would it be possible to please send me the version for MATLAB 2016a? My email is email@example.com......Thank you so much....
Sorry typo on the email... Dear Steve, this library looks great. Would it be possible to please send me the version for MATLAB 2015a? My email is firstname.lastname@example.org. Thank you so much.
@steve - okay, it's working now. Thank you!
@Don Yeo - did you run startup_sm_ssci.m first? You have to run that before opening the examples, as it adds the library to the path.
Hi, I am unable to run the examples as the error message shown was unable to find the forcesPS_library. Can anybody assist me on this please? Thank you.
@Elisa - custom joints can be created by chaining joints together, as long as the set of joints does not create a degree of freedom with no inertia that can rotate/translate freely with no inertia. This library would help you add custom forces to a joint, to create something like bushings in your car (permit some movement, but not completely free).
do you think that with the support of this library/interface I could create a custom joint from my own?
Why I cannot look at the source code of multibody blocks (for example joints)?
thank in advance
Very detailed and contains multi domain simulation. Good pacakge
Really helpful. Thanks
This is really helpful! I'm surprised this functionality is so hard to find, and not included in the SimScape Library.
Sorry found it
Cylinder_Lift/Translational Simscape Intf'. I get an error saying failing to load that. Where can I download that from?
Great video - beautiful models.
Added R2019a version. Note that starting in R19a joint limits are supported in Simscape Multibody joint blocks, so this library is not required if the standard force law works for your application.
Added R2018b version.
Added R2018a version.
Added block Hydraulic Cylinder SA PS (single-acting hydraulic cylinder using a physical signal interface) and example sm_ssci_02_cylinder_sa_pump which models a single piston pump using the Hydraulic SA PS block.
Added R2017b version.
Fixed mistake in library (Interfaces/Translational Simscape Multibody). Changed checkboxes in External Force and Torque blocks from torque to force. Added example sm_ssci_01_slider_crank.slx
Adjusted Simscape Forces Library
Added R2017a version and text for citing submission in other works. CAD models imported from Onshape are in the R2017a version.
Added 6 examples in R16b showing 3 methods of connecting 3D mechanical models to other domains. Contains library of blocks to simplify integration. Documentation for each example. Content for releases R16a and earlier is unchanged.
Fixed broken hyperlink in submission description.
Added R2016a versions.
Fixed webinar link.
Updated link to video in "Description" field. No changes to files in submission.
Added R2013a version with additional examples (hinge with hard stop, slider crank with hardstop, slider crank with 2 motors).
Inspired: Modeling Pneumatic Robot Actuators, MATLAB and Simulink Robotics Arena: Walking Robot, Robot Arm, Designing Robot Manipulator Algorithms, MATLAB and Simulink Robotics Arena: Introduction to Contact Modeling, Predictive Maintenance in Hydraulic Pump
Create scripts with code, output, and formatted text in a single executable document.