5.0

5.0 | 2 ratings Rate this file 11 Downloads (last 30 days) File Size: 37.5 KB File ID: #36370

Prolog to Matlab with The SWI-Prolog

by

 

Prolog to Matlab with The SWI-Prolog and JPL(Java Interface to Prolog)

| Watch this File

File Information
Description

Prolog to Matlab with The SWI-Prolog and JPL(Java Interface to Prolog)

Marcelo Augusto Costa Fernandes
DCA - CT - UFRN
mfernandes@dca.ufrn.br

Required Products Simulink
MATLAB
MATLAB release MATLAB 7 (R14)
Other requirements SWI-Prolog http://www.swi-prolog.org/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
01 Jul 2014 matias

the example gives me this error!
Java exception occurred:
java.lang.UnsatisfiedLinkError: C:\Program Files\swipl\bin\jpl.dll: Can't find dependent libraries

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at jpl.JPL.loadNativeLibrary(JPL.java:100)

at jpl.fli.Prolog.<clinit>(Prolog.java:85)

at jpl.Query.open(Query.java:286)

at jpl.Util.textToTerm(Util.java:162)

at jpl.Query.<init>(Query.java:198)

Error in example1 (line 2)
x=jpl.Query('consult(''example1.pl'')');

>> HEEELP!
thanks!

14 May 2013 Daniel  
14 May 2013 Daniel  

Contact us