Skip to content

OpenSim Example Code

Example MatLab code to generate simple lever model with two muscle actuators in OpenSim.

Download Here


Example MatLab code to generate a multi-joint frog-like model and simulate motion given a set of muscle activations.

Download here.


Both of these require setting up the matlab workspace to include opensim functions before running.  See directions here.


Useful links for documentation or insights

OpenSim Doxygen: Official documentation of all classes used in OpenSim

OpenSim YouTube Channel: Helpful vidoes and webinars

OpenSim Documentation Page

Skip to toolbar