I downloand the MalabOpensimAPI.zip and want to test the interfaces.
Although I do as what the Readme.txt suggests, in the step 4(Close and restart Matlab)
when I restart the matlab,it pops a error: Cannot locate com/mathworks/jmi/OpaqueJavaInterface class.
the Opensim version is 2.4.0 , matlab is R2011b.
Does anyone know how to deal with it?
Thank you!
Jianwei Liu
problem about the Opensim-Matlab interfaces
- Jianwei Liu
- Posts: 6
- Joined: Fri Feb 24, 2012 11:49 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: problem about the Opensim-Matlab interfaces
Hi Jianwei,
This may be due to an older installation of Matlab. Please check the Mathworks thread at
http://www.mathworks.com/support/soluti ... product=ML
for troubleshooting tips,
Good luck
-Ayman
This may be due to an older installation of Matlab. Please check the Mathworks thread at
http://www.mathworks.com/support/soluti ... product=ML
for troubleshooting tips,
Good luck
-Ayman
- Ryan Wedge
- Posts: 1
- Joined: Wed Sep 04, 2013 6:10 pm
Re: problem about the Opensim-Matlab interfaces
Hello,
I am getting this error message when trying to interface OpenSim 3.3 with Matlab:
Java exception occurred:
java.lang.NoClassDefFoundError: Could not initialize class org.opensim.modeling.opensimModelJNI
at org.opensim.modeling.Model.<init>(Model.java:119)
I ran the configureOpenSim script, imported the OpenSim libraries and tried the command model=org.opensim.modeling.Model(); as suggested. I removed OpenSim 3.2 from my path, and made sure the bin folder was a part of my current path with OpenSim 3.3
I have a 64-bit system but I am running 32-bit Matlab (student version), and have installed 32-bit 3.3.
Any help would be greatly appreciated.
Ryan
I am getting this error message when trying to interface OpenSim 3.3 with Matlab:
Java exception occurred:
java.lang.NoClassDefFoundError: Could not initialize class org.opensim.modeling.opensimModelJNI
at org.opensim.modeling.Model.<init>(Model.java:119)
I ran the configureOpenSim script, imported the OpenSim libraries and tried the command model=org.opensim.modeling.Model(); as suggested. I removed OpenSim 3.2 from my path, and made sure the bin folder was a part of my current path with OpenSim 3.3
I have a 64-bit system but I am running 32-bit Matlab (student version), and have installed 32-bit 3.3.
Any help would be greatly appreciated.
Ryan