Scripting refers to accessing OpenSim's functionality through programming languages that do not require you to compile your code. We support the following scripting interfaces:
- Matlab
- Python
- The scripting shell in the OpenSim GUI (which is a Jython interpreter embedded in the application)
- Matlab
- Python
What's available?
- Instantiate and run tools from setup files or programmatically.
- Perform batch processing of common workflows (e.g., inverse kinematics, computed muscle control, EMG-driven simulation).
- Utilize the OpenSim API without the overhead of learning to program in C++ and setting up a development environment.
- Write "main" programs similar to those written by C++ developers, while taking advantage of the many open-source Matlab/Python packages for data processing, statistics, machine learning, etc.
- Access common SimTK/Simbody numeric types (e.g., Vec3, Vector, Mat33, State, Inertia) and a limited subset of Simbody multibody calculations.
- Access to the OpenSim API to create and simulate models.
Use the Simbody visualizer.
...