MatLab example

OpenSense enables users to compute the motions of body segments based on inertial measurement unit (IMU) data.
User avatar
Hans-Jochen Edenhart
Posts: 9
Joined: Mon May 06, 2019 2:06 am

MatLab example

Post by Hans-Jochen Edenhart » Wed Jun 19, 2019 2:20 am

hello all.
I have taken a screenshot of the problem.
It would be great if someone could tell me what ia am doing wrong. i am not a matlab pro at all...
thanks for your help
MatLab_issue.jpg (97.4 KiB) Viewed 867 times

User avatar
Maarten Afschrift
Posts: 7
Joined: Sat Oct 20, 2012 4:09 am

Re: MatLab example

Post by Maarten Afschrift » Thu Jun 20, 2019 6:33 am


My guess is that there is a problem with the configuration of the OpenSim API in Matlab. Did you run the configureOpenSim.m as adiminstrator and do you have the opensim bin folder in your path ?


User avatar
Rodrigo Bini
Posts: 10
Joined: Wed Oct 21, 2015 6:18 am

Re: MatLab example

Post by Rodrigo Bini » Fri Jun 21, 2019 9:28 pm

I was checking the code and 'XsensDataReader.m' seems to be missing in the list of example files.

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: MatLab example

Post by jimmy d » Mon Nov 04, 2019 5:45 pm


XsensDataReader is a OpenSim side class which you can instantiate with a settings file.

I think this is an issue with setting up the OpenSense libraries with Matlab. Are you still having this issue?


User avatar
John Chan
Posts: 22
Joined: Tue Feb 19, 2019 5:54 pm

Re: MatLab example

Post by John Chan » Tue Dec 17, 2019 7:30 pm

Hi I am facing the similar issue. Previously when I install OpenSim, I already run the configureOpenSim so I didn't run it after I install Opensense. However, I read the post so I give it a try, and run the configureOpenSim, and it shows me this (as shown in photo). May I know what shall I do next?
opensense problem.PNG
opensense problem.PNG (71.84 KiB) Viewed 665 times