Hi everyone, 
It seems that if I do not put this class inside a package, than the javaObject function works.
public class JavaMatlab {
    public void Myfunction(){
        //My function code
    }
}
Than compiled JavaMatlab.java into JavaMatlab.class and fellow the process above, it works!
But in most of the Third party Java code, the package name is always exist, so how can I import a java class when it is inside a package?






