AboutDownloadsDocumentsForumsSource CodeIssues

Provides tools for using different aspects of Opensim within the Matlab environment, including command line pipelines as well as accessing the Opensim API directly.

The main functionality has now been included as part of Opensim 3.0 with improved functionality (and will become more obsolete with Opensim 4.0). Please see the developer wiki for more information. Therefore this is being kept only as an archive, and users should see the documentation on interfacing Matlab with Opensim on the Opensim website (http://simtk-confluence.stanford.edu:8080/display/OpenSim/Scripting+with+Matlab).

As such the forums etc will not be monitored.


Matlab is a common analysis tool used for data manipulation, signal processing and function integration. These features can be used in conjunction with simulation tools provided by the Opensim interface.

This project provides tools for using different aspects of Opensim within the Matlab environment. This includes 1) using the command line tools by generating XML setup files etc (Scaling, Inverse Kinematics, Inverse Dynamics, Forward Dynamics) 2) using the Java classes that the Opensim GUI is built on to access aspects of the Opensim API.

Provided in this project are -

1) Tools for taking motion capture data from C3D files and generating the required input files (marker files {*.trc} motion files {*.mot}, GRF xml files {*.xml}) as well as setup files for each of the different tools that can be called from the command line. Example data from different models and data sets are provided including example pipelines to analyse data using Opensim. Some of this implementation has taken inspiration from Tim Dorn's excellent GaitExtract toolbox. A new page with more up-to-date tools can be found here - http://simtk-confluence.stanford.edu:8080/display/OpenSim/Tools+for+Preparing+Motion+Data

2)Matlab functions and example scripts for accessing the Opensim API through Matlab. This utilises the Java wrapping classes that the Opensim GUI is built on. Examples are shown to open and edit models as well as perform a 'Muscle Analysis'. Please now use the inbuilt support from Opensim rather than this toolbox! (http://simtk-confluence.stanford.edu:8080/display/OpenSim/Scripting+with+Matlab)

Downloads

1) Matlab tools for importing motion capture data from C3D files and generating the required files and setup files to call Opensim's main programs from the command line.

2) Matlab functions and scripts for accessing the Opensim API through the Java class wrapper.

See all Downloads
Feedback