Page 1 of 1

batch processing about pointkinematics

Posted: Wed Aug 28, 2024 10:03 am
by llhhxx
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!

Re: batch processing about pointkinematics

Posted: Wed Aug 28, 2024 7:18 pm
by tkuchida
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)