Use SWIProlog to commit with MATLAB

16 views
Skip to first unread message

Mohammad Toobaei

unread,
Jul 4, 2014, 7:22:47 AM7/4/14
to swi-p...@googlegroups.com
Hi to everyone
I have the two files attached and I want to execute my .m file but every time I do that I get the error below:


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 3)
x=jpl.Query('consult(''C:\Users\Yasin\Desktop\SWIPrologMatlabV1\example1.pl'')');



can anyone help me?
Regards
example1.m
example1.pl
Reply all
Reply to author
Forward
0 new messages