3 ms·
The MATLAB toolbox "Simscape Multibody" (formerly SimMechanics) does exactly what you're asking. It comes free with student editions of MATLAB, but for home use
by bsilvereagle 8y ago
The MATLAB toolbox "Simscape Multibody" (formerly SimMechanics) does exactly what you're asking. It comes free with student editions of MATLAB, but for home use you need to buy Simulink & Simscape Mechanics.
An alternative that does not support animation as easily as Simscape, but will generate 2D/3D plots, is OpenModelica.
https://www.mathworks.com/products/simmechanics.html https://www.mathworks.com/products/simmechanics.html
https://openmodelica.org/ https://openmodelica.org/