JMIValidator

class JMIValidator

Validates that the methods used by JMIWrapper are present in the current Java Virtual Machine, which should always be MATLAB’s JVM when this class is used. This is done because jmi.jar is entirely undocumented and could change in any future release without notice. If that occurred it could result in a number of exceptions that could be insufficiently informative to resolve the issue. This class throws detailed exceptions when an expected method (or class the method belongs to) is not found.

Author:Joshua Kaplan

Methods

validateJMIMethods

static void validateJMIMethods()

Checks that all of the methods matlabcontrol uses are present. If they are all present then nothing will happen. If not, then an informative exception is thrown.

Throws: