From: Mark on 18 Jun 2010 20:57 Hi, I'm trying to get up and running with the Javabuilder, so I've been trying to run the magicsquare example. Everything works fine until I go to run the final java program. I get the following Exception Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\MATLAB\R2009a\bin\win32\nativemcl.dll: The specified procedure could not be found at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:1449) at com.mathworks.toolbox.javabuilder.MWUtil.GetUnknownClassID(MWUtil.java:1258) at com.mathworks.toolbox.javabuilder.MWClassID.<clinit>(MWClassID.java:41) at getmagic.main(getmagic.java:34) I get this exception whether I run getmagic.java from the command line or in Eclipse. nativemcl.dll is in the directory it says it's looking for it in, so I cannot understand why it doesn't see it. I am running Matlab version r2009a, with Java jdk 1.6.0_17, on a 32-bit windows box running XP Professional. Can somebody please point me to how to get this to run? I've scoured Matlab central and googled the exceptoin output and I can't find anything. Thanks, Mark
|
Pages: 1 Prev: Aligning subplots II. Next: GUI button doesn't work - SelectionChangeFcn ? |