problem about the Opensim-Matlab interfaces

Provides tools for using different aspects of Opensim within the Matlab environment, including command line pipelines as well as accessing the Opensim API directly.
POST REPLY
User avatar
Jianwei Liu
Posts: 6
Joined: Fri Feb 24, 2012 11:49 am

problem about the Opensim-Matlab interfaces

Post by Jianwei Liu » Tue Feb 28, 2012 7:53 pm

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

User avatar
Ayman Habib
Posts: 2244
Joined: Fri Apr 01, 2005 12:24 pm

Re: problem about the Opensim-Matlab interfaces

Post by Ayman Habib » Thu Mar 15, 2012 1:36 pm

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

User avatar
Ryan Wedge
Posts: 1
Joined: Wed Sep 04, 2013 6:10 pm

Re: problem about the Opensim-Matlab interfaces

Post by Ryan Wedge » Tue Jan 26, 2016 10:26 am

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

POST REPLY