Q: When I try to introduce the jar file to matlab, I get the following error.
??? Undefined variable "com" or class "com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager". Error in ==> javaclasspath>local_javapath at 114 jloader = com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager; Error in ==> javaclasspath at 62 p = local_javapath('-dynamic'); Error in ==> javaaddpath at 69 javaclasspath( p, javaclasspath ); Error in ==> jd at 3 javaaddpath ( '/home/jevans/matlab/classes/netcdfAll-4.1.jar' ) ;
A: Most likely you started MATLAB with the -nojvm
option.
Try it with the -nodesktop
option instead.