Rolling Ball on Plane

Model of a rolling ball on plane using SimMechancs.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This model simulates a rolling ball on plane. It is constructed in SimMechanics (2nd generation). The contact between ball and plane is modelled by taking into accout the support force and simple friction force. The model uses an S-function coded in C language. It must be compiled first by giving a command "mex ballplanecontact.c" in the MATLAB Command Window. The model was inspired by SimMechanics Contact Forces Library.

Cite As

Janne Salomäki (2026). Rolling Ball on Plane (https://www.mathworks.com/matlabcentral/fileexchange/49374-rolling-ball-on-plane), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Blocks renamed and some comments added.

1.0.0.0