Troubles with Matlab (2019b or 2020b) Scripting Environment - Java error
Posted: Wed Dec 30, 2020 4:05 am
Hello,
I cannot succeed in using the c3dExport.m script also it seems that I've followed the complete installation process of matlab librairies. I've checked the PATH in the windows environment variables and checked in Mtalab with the command: org.opensim.modeling.opensimCommon.GetVersion()
I have also checked the matlab path and I have the Matlab\utilities directory in it.
The error message I get is the following:
Error using osimC3D/getRate_force (line 100)
Java exception occurred:
java.lang.RuntimeException: Key 'DataRate' not found.
Thrown at ValueArrayDictionary.h:148 in getValueAsString().
at org.opensim.modeling.opensimCommonJNI.AbstractDataTable_getTableMetaDataAsString(Native Method)
at org.opensim.modeling.AbstractDataTable.getTableMetaDataAsString(AbstractDataTable.java:55)
Error in c3dExport (line 45)
rForces = c3d.geotRate_frce();
I tried initially with the Matlab 2019b version, and I have just installed the 2020b version to see if it works better. It's not the case.
What can I do to solve this problem?
Thanks in advance,
Isabelle
I cannot succeed in using the c3dExport.m script also it seems that I've followed the complete installation process of matlab librairies. I've checked the PATH in the windows environment variables and checked in Mtalab with the command: org.opensim.modeling.opensimCommon.GetVersion()
I have also checked the matlab path and I have the Matlab\utilities directory in it.
The error message I get is the following:
Error using osimC3D/getRate_force (line 100)
Java exception occurred:
java.lang.RuntimeException: Key 'DataRate' not found.
Thrown at ValueArrayDictionary.h:148 in getValueAsString().
at org.opensim.modeling.opensimCommonJNI.AbstractDataTable_getTableMetaDataAsString(Native Method)
at org.opensim.modeling.AbstractDataTable.getTableMetaDataAsString(AbstractDataTable.java:55)
Error in c3dExport (line 45)
rForces = c3d.geotRate_frce();
I tried initially with the Matlab 2019b version, and I have just installed the 2020b version to see if it works better. It's not the case.
What can I do to solve this problem?
Thanks in advance,
Isabelle