Determine ifMATLABRuntimewas started with instance ofJavaVirtual Machine (JVM)
bool mclIsJVMEnabled()
UsemclIsJVMEnabled()
to determine if theMATLAB®Runtimewas started with an instance of a Java®Virtual Machine (JVM™). Returnstrue
ifMATLAB Runtimeis started with a JVM instance, else returnsfalse
.
printf("JVM initialized : %d\n", mclIsJVMEnabled());