Hi,
I am using OpenSim 4.4 to track marker positions during walking. I figured out how to do this in the GUI, but I need to apply the same process to many .mot files. Therefore, I attempted to use the OpenSim API for batch processing. I have installed the OpenSim API in MATLAB, but since I am not familiar with C++, reading the API documentation for a week has only made me more confused. Could someone provide an example code for me? Many thanks!
batch processing about pointkinematics
- LINGHUI XU
- Posts: 1
- Joined: Tue Jan 02, 2024 1:21 pm
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: batch processing about pointkinematics
Two examples demonstrating batch processing can be found on GitHub in the Bindings/Java/Matlab/examples directory:
- setupAndRunIKBatchExample.m (https://github.com/opensim-org/opensim- ... hExample.m)
- setupAndRunAnalyzeBatchExample.m (https://github.com/opensim-org/opensim- ... hExample.m)
In case you haven't found these, some additional information about Matlab scripting can be found on the following pages in the documentation:
- Common Scripting Commands (https://opensimconfluence.atlassian.net ... g+Commands)
- Scripting with Matlab (https://opensimconfluence.atlassian.net ... ith+Matlab)
- setupAndRunIKBatchExample.m (https://github.com/opensim-org/opensim- ... hExample.m)
- setupAndRunAnalyzeBatchExample.m (https://github.com/opensim-org/opensim- ... hExample.m)
In case you haven't found these, some additional information about Matlab scripting can be found on the following pages in the documentation:
- Common Scripting Commands (https://opensimconfluence.atlassian.net ... g+Commands)
- Scripting with Matlab (https://opensimconfluence.atlassian.net ... ith+Matlab)