• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

classpath matlab and java

toughwimp11

Senior member
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?
 
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.
 
Back
Top