Determine if MATLAB Runtime was started with instance of Java Virtual Machine (JVM)
bool mclIsJVMEnabled()
Use mclIsJVMEnabled()
to determine if the MATLAB® Runtime was started with an instance of a Java® Virtual Machine (JVM™). Returns true
if MATLAB Runtime is started with a JVM instance, else returns false
.
printf("JVM initialized : %d\n", mclIsJVMEnabled());