I have generated some Java classes from a proto file. Just to be sure I did not make mistakes: I first compiled the proto file using protoc and then compiled the generated java file using javac.
I am trying to import the classes I generated in Matlab, but I kept getting the error:
Error using javaMethod No class MyClass can be located on the Java class path
I modified the classpath.txt in Matlab, adding both the directory containing the java classes and the path to the jar file itself. I checked and I believe that the java version I am using to compile the java classes is the same as the one Matlab uses.
Any idea? I do not manage to make sense of it.. :(
Thanks!