Hi,
I have java class which is implement in Eclipse IDE , but i want to integrate class in matlab ?Below sample java code ?if true % code
import edu.lipreading.*;public class Student{public Static Void Main(String[] args){System.out.println("Welcome to Student Class");}}end
Now Below My Matlab I have tried like Undefined function or variable 'Student'. , but i cannot get result .
if true % codejavaaddpath('D:\work\Student.jar','-end'); clear java; import edu.lipreading.*; o = Student; javaMethod('main', o);endNote : I have tested my Java Version 1.6 jre file download and Environment Path System Variable Path Set Matlab_JAVA , C:/Prog/java/jre1.6/jre;
Best Answer