classpath matlab and java

toughwimp11

Senior member
May 8, 2005
415
0
76
i'm trying to get a class working which allows matlab to be called from java.
i'm trying to follow the instructions on this page http://www.cs.virginia.edu/~wh...matlab/JavaMatlab.html

to get it to work but i can not seem to get the classpath working for matlab. i'm not quite sure how to edit the classpath.txt file. do i need to put the java files in a specific location within the mathlab root.

any help?
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
What environment are you working in? Eclipse? Anyway, that error just means that the compiler can't find the physical package to import from. It will search for the libraries specified in the classpath, so first make sure that the class path points to the folder where the .class or .jar file is located for that package.