batch processing about pointkinematics

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
LINGHUI XU
Posts: 1
Joined: Tue Jan 02, 2024 1:21 pm

batch processing about pointkinematics

Post by LINGHUI XU » Wed Aug 28, 2024 10:03 am

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!

Tags:

User avatar
Thomas Uchida
Posts: 1792
Joined: Wed May 16, 2012 11:40 am

Re: batch processing about pointkinematics

Post by Thomas Uchida » Wed Aug 28, 2024 7:18 pm

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)

POST REPLY