Hi,
I have recently installed opensim4.1 and was reproducing Opensense tutorial.
I faced with a problem in MATLAB. Apparently, importing the libraries does not really import the required methods for the m-file to run.
After importing the library, MATLAB still keeps giving an error on
xsensSettings = XsensDataReaderSettings('myIMUMappings.xml');
Unrecognized function or variable 'XsensDataReaderSettings'.
I noticed that DataReaderSetting and any other classes cannot be found in the folder called "OpenSenseExample" or "...\OpenSim 4.1\sdk\Java". I downloaded an older version of opensense and noticed at there should be a folder "...\opensense\sdk\Java" containing all the required methods but apparently this is not existing on my installation.
I copied those files from the older version of opensens and put it within the OpensenseExamples but it did not change anything. Just to mention that I have that folder as the current directory in matlab.
Does it mean that my installation of opensim 4.1 is incomplete or there maybe other issues? is there any simple fix for this or I should re-install?
Best,
Aff
opensense installation
- Afshin Samani
- Posts: 6
- Joined: Thu Jun 04, 2020 3:21 am