Class.forName
MethodInstead of using the Java®
Class.forName
method, call the MATLAB®
javaObjectEDT
function. For example, replace this statement:
java.lang.Class.forName('xyz.myapp.MyClass')
with:
javaObjectEDT('xyz.myapp.MyClass')