This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Determine if MATLAB Runtime was launched with instance of Java Virtual Machine (JVM)


bool mclIsJVMEnabled()


Use mclIsJVMEnabled() to determine if the MATLAB® Runtime was launched with an instance of a Java® Virtual Machine (JVM™). Returns true if MATLAB Runtime is launched with a JVM instance, else returns false.


printf("JVM initialized : %d\n", mclIsJVMEnabled());

Introduced in R2009a

Was this topic helpful?