Connecting OpenSim 4.1 to Matlab
Posted: Thu May 28, 2020 2:01 pm
Hello,
I am trying to set up scripting with Matlab. I have followed the instructions on the documentation page (https://simtk-confluence.stanford.edu:8 ... ith+Matlab) for both the automated version and the manual way shown. I have also reinstalled OpenSim and made sure all previous versions were uninstalled. No matter what I attempt I always end up with the same error when I try to run the test code:
I have ensured that OpenSim's bin directory is on the path for Matlab.
Has anyone seen this before? Is there another way to connect Matlab and OpenSim?
Thanks,
EAD
I am trying to set up scripting with Matlab. I have followed the instructions on the documentation page (https://simtk-confluence.stanford.edu:8 ... ith+Matlab) for both the automated version and the manual way shown. I have also reinstalled OpenSim and made sure all previous versions were uninstalled. No matter what I attempt I always end up with the same error when I try to run the test code:
Code: Select all
org.opensim.modeling.opensimCommon.GetVersion()
Failed to load one or more dynamic libraries for OpenSim.
java.lang.UnsatisfiedLinkError: C:\OpenSim 4.1\bin\osimJavaJNI.dll: Can't find dependent libraries
Make sure OpenSim's bin directory is on your PATH.
See https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab
Java exception occurred:
java.lang.UnsatisfiedLinkError:
org.opensim.modeling.opensimCommonJNI.GetVersion()Ljava/lang/String;
at org.opensim.modeling.opensimCommonJNI.GetVersion(Native Method)
at org.opensim.modeling.opensimCommon.GetVersion(opensimCommon.java:25)
Has anyone seen this before? Is there another way to connect Matlab and OpenSim?
Thanks,
EAD