OpenSim/Matlab interfacing

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
hamed kouchebaghi
Posts: 47
Joined: Thu Nov 14, 2019 12:11 pm

OpenSim/Matlab interfacing

Post by hamed kouchebaghi » Tue Jan 21, 2020 6:08 am

hello
I'm a master student in biomedical and recently working on my thesis on an OpenSim/Matlab related project.
In my project I want to control a model movement using Matlab and get feedback from OpenSim to Matlab in a closed loop.

Actually I have created the OpenSim/Matlab environment using the following instructions in "https://simtk-confluence.stanford.edu/d ... ith+Matlab" but my problem is don't know how to import and load a model in Matlab and starting to move it through Matlab.

( Work environment: Windows 10 64bit, OpenSim 4.0 64bit, Matlab 2016a 64bit. )

Can anybody help me with the problem?

thank you,
Hamed

Tags:

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: OpenSim/Matlab interfacing

Post by Dimitar Stanev » Wed Jan 22, 2020 1:26 am

Hi,

You can check the following projects that are relevant to what you want to do:

https://simtk.org/projects/opensim_matlab
https://simtk.org/projects/opensimmatlab

These two are outdated, so the source code might not work with the new versions of OpenSim. However, you can also check the osim-rl project which is an interface of OpenSim and openai gym environment for reinforcement learning.

https://github.com/stanfordnmbl/osim-rl
https://github.com/stanfordnmbl/osim-rl ... sim.py#L19

User avatar
hamed kouchebaghi
Posts: 47
Joined: Thu Nov 14, 2019 12:11 pm

Re: OpenSim/Matlab interfacing

Post by hamed kouchebaghi » Thu Jan 23, 2020 12:02 am

hello
Thank you so much for your answer, I will check it .

best regards

POST REPLY