View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Prolog to Matlab with The SWI-Prolog

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0
5.0 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 267 KB File ID: #36370 Version: 1.1

Prolog to Matlab with The SWI-Prolog

by

 

25 Apr 2012 (Updated )

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 MATLAB
MATLAB release MATLAB 7.6 (R2008a)
MATLAB Search Path
/
/SWIPrologMatlabV1.1
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

matias (view profile)

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!

Comment only
14 May 2013 Daniel

Daniel (view profile)

 
14 May 2013 Daniel

Daniel (view profile)

 
Updates
14 Sep 2016 1.1

Update for SWI Prolog version 7.2.3.

Contact us