Page 1 of 1

OpenSim/Matlab interfacing

Posted: Tue Jan 21, 2020 6:08 am
by hamed1994
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

Re: OpenSim/Matlab interfacing

Posted: Wed Jan 22, 2020 1:26 am
by mitkof6
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

Re: OpenSim/Matlab interfacing

Posted: Thu Jan 23, 2020 12:02 am
by hamed1994
hello
Thank you so much for your answer, I will check it .

best regards