gearsInMesh

Program for calculating the geometry of involute gears
952 Downloads
Updated 25 Nov 2025

View License

This MATLAB library provides a set of functions for working with involute gears. It allows you to:
  • Calculate involute gear geometry
  • Plot a single gear
  • Plot multiple gears in mesh
  • Animate gears in mesh
The functions support both involute spur gears and helical involute gears.
Graphics dependency
For graphical output, the library uses the draw19 package, which is available on MATLAB File Exchange:
Please install draw19 and add it to your MATLAB path before using the visualization and animation functions.
User guide
A quick user guide describing the workflow and main functions is available here:
This toolbox can be useful for education, demonstration of gear meshing, and preliminary analysis of gear geometry.

Cite As

milan batista (2025). gearsInMesh (https://www.mathworks.com/matlabcentral/fileexchange/71968-gearsinmesh), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.4

Update description

1.0.3

Correct calculation of center distance when beta /= 0

1.0.2

gearsInMesh is now class.

1.0.1

Add the link to the quick user guide.

1.0.0