I work with Matlab and try to launch java class from it.
So I add the path of java class to the classpath.txt
in Matlab. Then I create an object of the java class HelloWorld
and it works perfectly:
o = HelloWorld;
javaMethod('main', o);
However, when I change the code in Helloworld
, Matlab doesn't see this: I need to restart Matlab to work with changed code of the Helloworld
.
Is there a way to force Matlab to see changes in Helloworld
without restarting?