<div class="gmail_quote">Hi,<br><br>Yes, both PATH environment variables are right and I can run Matlab from the command prompt.<br><br>The first error window that pops up is a javaw.exe - Entry Point Not Found error that says "The procedure entry point mxSetName could not be located in the dynamic link library libmx.dll." which is then followed by the message I posted above. This message only occurs the first time I attempt to run the workflow. Subsequent tries goes straight the error message posted above. <br>
<div> <br>I'm running Matlab 7.8.0.347 R2009a version. <br><br>Thanks,<font color="#888888"><br><br></font>Peter</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"></font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Jun 30, 2009 at 1:55 PM, Daniel Crawl <span dir="ltr"><<a href="mailto:crawl@sdsc.edu" target="_blank">crawl@sdsc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi Peter,<br>
<br>
On windows, make sure the PATH environment variable<br>
includes both the Matlab bin and win32 directories. (Other<br>
things to check: make sure those directories exist, and<br>
see if you can run "matlab" from a cmd prompt).<br>
<br>
I've noticed that when the Matlab actor can't find Matlab,<br>
the exception it throws changes. The first one usually<br>
describes the actual problem, but subsequent exceptions<br>
are NoClassDefFoundError like the one in your email. Do<br>
you get a different exception the first time you try to<br>
run the workflow? If so, could you please send it to me?<br>
<br>
Also, which version of Matlab do you have?<br>
<br>
Thanks,<br>
<br>
--dan<br>
<br>
<br>
Peter Li wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Hi all,<br>
<br>
I'm trying to use the MATLAB actor, but I get this error message when I try<br>
to run it. I'm running on windows XP and I've set the environment variables<br>
to include the MATLAB bin and its win32 folder. It says that it cant find<br>
the ptmatlab shared library but I can see ptmatlab.dll file in the<br>
Kepler-1.0.0\lib folder. I'm fairly new at Kepler, so please excuse me if<br>
this is a dumb question.<br>
<br>
ptolemy.kernel.util.IllegalActionException: There was a problem invoking the<br>
Ptolemy II Matlab interface.<br>
The interface has been tested under Windows and Linux.<br>
The interface requires that Matlab be installed on the local machine and<br>
that the ptmatlab shared library available.<br>
Refer to $PTII/ptolemy/matlab/makefile for more information.<br>
in .<Unnamed Object>.MatlabExpression<br>
Because:<br>
java.lang.NoClassDefFoundError<br>
at ptolemy.matlab.Expression.preinitialize(Expression.java:205)<br>
at ptolemy.actor.Director.preinitialize(Director.java:865)<br>
at<br>
ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:527)<br>
at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1103)<br>
at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:913)<br>
at ptolemy.actor.Manager.initialize(Manager.java:578)<br>
at ptolemy.actor.Manager.execute(Manager.java:321)<br>
at ptolemy.actor.Manager.run(Manager.java:1071)<br>
at ptolemy.actor.Manager$3.run(Manager.java:1112)<br>
Caused by: java.lang.NoClassDefFoundError<br>
at ptolemy.matlab.Expression.preinitialize(Expression.java:202)<br>
... 8 more<br>
Caused by: java.lang.NoClassDefFoundError<br>
at ptolemy.matlab.Expression.preinitialize(Expression.java:202)<br>
at ptolemy.actor.Director.preinitialize(Director.java:865)<br>
at<br>
ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:527)<br>
at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1103)<br>
at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:913)<br>
at ptolemy.actor.Manager.initialize(Manager.java:578)<br>
at ptolemy.actor.Manager.execute(Manager.java:321)<br>
at ptolemy.actor.Manager.run(Manager.java:1071)<br>
at ptolemy.actor.Manager$3.run(Manager.java:1112)<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a><br>
<a href="http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>