STOFileAdapter.read() not available
Posted: Mon May 18, 2020 12:09 pm
Hi everybody,
my university updated the student computers which means that I need to switch from OpenSim 4.0 to 4.1. I developed over the last month my own motion capture analysis in OpenSim using the coding possibilities in Matlab.
Prior to the conversion, my code ran without any problems in OpenSim 4.0 which was integrated in Matlab 2018b.
Now, the new computers are equipped with Matlab 2019b and OpenSim 4.1.
And only now I am facing some issues with the exact same code: It throws an error when I want to use STOFileAdapter.read(filepathofmotfile).
So to check, I used "methodsview(STOFileAdapter)" in both Matlab versions to verify.
Indeed, in Matlab 2018b (integrated with OpenSim 4.0) the function "read" is listed.
In Matlab2019b with OpenSim 4.1 the function "read" is missing, which means that this function obviously cannot be found by Matlab. If I check with the API for STOFileAdapter (https://simtk.org/api_docs/opensim/api_ ... ter__.html) "read" should still be available.
So my question is: Did anyone else face this issue when changing to 4.1?
Has there been an update and am I supposed to use another function to read in a *.mot-file?
Or might this possibly be a bug?
Thank you
Best regards,
Ruth
my university updated the student computers which means that I need to switch from OpenSim 4.0 to 4.1. I developed over the last month my own motion capture analysis in OpenSim using the coding possibilities in Matlab.
Prior to the conversion, my code ran without any problems in OpenSim 4.0 which was integrated in Matlab 2018b.
Now, the new computers are equipped with Matlab 2019b and OpenSim 4.1.
And only now I am facing some issues with the exact same code: It throws an error when I want to use STOFileAdapter.read(filepathofmotfile).
Before the update, this code ran fine.Undefined function 'read' for input arguments of type 'org.opensim.modeling.STOFileAdapter'.
So to check, I used "methodsview(STOFileAdapter)" in both Matlab versions to verify.
Indeed, in Matlab 2018b (integrated with OpenSim 4.0) the function "read" is listed.
In Matlab2019b with OpenSim 4.1 the function "read" is missing, which means that this function obviously cannot be found by Matlab. If I check with the API for STOFileAdapter (https://simtk.org/api_docs/opensim/api_ ... ter__.html) "read" should still be available.
So my question is: Did anyone else face this issue when changing to 4.1?
Has there been an update and am I supposed to use another function to read in a *.mot-file?
Or might this possibly be a bug?
Thank you
Best regards,
Ruth