Hello,
I reinstalled OpenSim 4.3.
I am able to run "import org.opensim.modeling.* "
However, when I attempt to load a model, or try to run any other function I get the following error:
Java exception occurred:
java.lang.UnsatisfiedLinkError: org.opensim.modeling.opensimSimulationJNI.new_Model_SWIG_0()J
at org.opensim.modeling.opensimSimulationJNI.new_Model__SWIG_0(Native Method)
at org.opensim.modeling.Model.<init>(Model.java:804)
Does anyone know what is going on and can help me resolve this issue so that I can interface with OpenSim in MATLAB? Thanks.
Java exception occurred
- OPHELIE HERVE
- Posts: 1
- Joined: Tue Sep 29, 2020 11:33 am
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Java exception occurred
Hello,
The import line doesn't exercise any functionality, just checks that the java/jar file with the correct name is available. The error downstream is very likely due to the fact that the libraries are not on your Path. Please consult the documentation page below for detailed instructions and let us know if you continue to have problems
https://simtk-confluence.stanford.edu/d ... ith+Matlab
Best regards,
-Ayman
The import line doesn't exercise any functionality, just checks that the java/jar file with the correct name is available. The error downstream is very likely due to the fact that the libraries are not on your Path. Please consult the documentation page below for detailed instructions and let us know if you continue to have problems
https://simtk-confluence.stanford.edu/d ... ith+Matlab
Best regards,
-Ayman