Simscape Multibody Contact Forces Library

Contact force examples and library.
29,2K téléchargements
Mise à jour 24 déc. 2025
Please note that the Spatial Contact Force block has been added in R2019b. You should see if this block meets your needs before using this library.
This library contains contact force models and force laws for multibody modeling in Simscape Multibody. They cover 2-dimensional and 3-dimensional problems with or without friction. More than 45 example models are provided, including basic contact force examples (bouncing ball) and more complex applications such as a cam-follower mechanism, differential drive robot, and a robot arm with a gripper. Both linear and nonlinear force laws are included, and you can easily add your own custom force law to your multibody dynamics model.
Use the "Download" 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.
See how to use these forces to model a cam-follower mechanism:
Learn more about multibody simulation with Simscape Multibody by watching this webinar
Try these free, hands-on tutorials to learn how to use Simscape:
To learn more about modeling and simulation with Simscape, please visit:
Product Capabilities:

Citation pour cette source

Steve Miller (2026). Simscape Multibody Contact Forces Library (https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/25.2.5.3), GitHub. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2025b
Compatible avec les versions R2015a à R2025b
Plateformes compatibles
Windows macOS Linux

CFL_Core/Libraries

CFL_Core/Libraries/Extrusions

CFL_Core/Scripts_Data

CFL_Core/Scripts_Data/Doc

CFL_Core/Test_Models

Examples/2D/Ball_Bearing

Examples/2D/Ball_Bearing/Scripts_Data

Examples/2D/Cam_Follower

Examples/2D/Cam_Follower/UI

Examples/2D/Cam_Follower_Constraint

Examples/2D/Geneva_Drive

Examples/2D/Geneva_Drive/CAD/Export

Examples/2D/Mini_Golf

Examples/2D/Mini_Golf/Scripts_Data

Examples/2D/Simple/Collision

Examples/2D/Simple/Friction

Examples/2D/Spinning_Boxes

Examples/3D/Caster_4_Whl

Examples/3D/Gripper_2Belts

Examples/3D/MATLAB_Build/Spheres_in_Sphere

Examples/3D/Robot_2_Whl

Examples/3D/Robot_6Legs_4Bar

Examples/3D/Robot_6Legs_4Bar/Scripts_Data

Examples/3D/Simple/Collision

Examples/3D/Simple/Friction

Examples/3D/Tread_Drive

Scripts_Data

Scripts_Data/Doc

CFL_Core/Libraries

CFL_Core/Test_Models

Examples/2D/Ball_Bearing

Examples/2D/Ball_Bearing/Libraries

Examples/2D/Cam_Follower

Examples/2D/Cam_Follower_Constraint

Examples/2D/Conveyor_Belts

Examples/2D/Geneva_Drive

Examples/2D/Geneva_Drive/CAD/Export

Examples/2D/Mini_Golf

Examples/2D/Mini_Golf/Libraries

Examples/2D/Simple/Collision

Examples/2D/Simple/Friction

Examples/2D/Spinning_Boxes

Examples/3D/Caster_4_Whl

Examples/3D/Gripper_2Belts

Examples/3D/MATLAB_Build/Spheres_in_Sphere

Examples/3D/Robot_2_Whl

Examples/3D/Robot_6Legs_4Bar

Examples/3D/Robot_6Legs_4Bar/Libraries

Examples/3D/Simple/Collision

Examples/3D/Simple/Friction

Examples/3D/Tread_Drive

Version Publié le Notes de version
25.2.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/25.2.5.3

25.1.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/25.1.5.3

24.2.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/24.2.5.3

24.2.5.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/24.2.5.2

24.1.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/24.1.5.3

24.1.5.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/24.1.5.2

23.2.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/23.2.5.3

23.2.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/23.2.5.1

23.1.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/23.1.5.3

23.1.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/23.1.5.1
See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/23.1.5.1

22.2.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/22.2.5.3

22.2.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/22.2.5.1

22.1.5.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/22.1.5.3

22.1.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/22.1.5.1

22.1.5.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/22.1.5.0

21.2.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/21.2.5.1

21.2.5.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/21.2.5.0

21.1.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/21.1.5.1

21.1.5.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/21.1.5.0

20.2.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/20.2.5.1

20.2.5.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/20.2.5.0

20.1.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/20.1.5.1
See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/20.1.5.1

19.2.5.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/19.2.5.1

19.2.5.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/19.2.5.0

19.1.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/19.1.4.1

18.2.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/18.2.4.1

18.1.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/18.1.4.1

17.2.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/17.2.4.1

17.1.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/17.1.4.1

16.2.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/16.2.4.1

16.1.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/16.1.4.1

15.2.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/15.2.4.1

15.1.4.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Contact-Forces-Library/releases/tag/15.1.4.1

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.