APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

ejs and matlab

Return to the EJS Modeling forum
Login to post to this thread

EJS and Matlab Interface
Jai Naresh Pettinakota
1 Posts

   This is regarding EJS and Matlab Interface. PLease let me know if their is any new version of the plugin released for this interface. Currently i am using 3.4.7 package.

Jai Naresh

can not connect with matlb
Juan Valdiviezo
1 Posts

I have tried to connect with matlab from EJS but appears the next error:
C:\ejs\Simulations>"C:\Archivos de programa\Java\jdk1.7.0_11\jre\bin\java" -jar matlabExample1.jar
ERROR: Could not load the JMatLink library. This error occures, if the path to
       matlab's \bin directory is not set properly.
       Or if JMatLink.dll (for Windows) or  libJMatlink.jnilib (for MacOSX) is not
       in the right directory!
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: JMatLink.engOpenSingleUseNATIVE(Ljava/lang/String;)I
at JMatLink.engOpenSingleUseNATIVE(Native Method)
at JMatLink.run(JMatLink.java:875)
at java.lang.Thread.run(Thread.java:722)

I want to know how to resolve this problem... thanks

Current Replies - View all
Re: can not connect with ...   (Francisco Esquembre - )
Re: can not connect with ...   (Milos Chovanec - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book