[kepler-users] Invoking MATLAB interface

Peter Li yli61 at jhu.edu
Mon Jun 29 13:50:38 PDT 2009


Hi all,

I'm trying to use the MATLAB actor, but I get this error message when I try
to run it. I'm running on windows XP and I've set the environment variables
to include the MATLAB bin and its win32 folder. It says that it cant find
the ptmatlab shared library but I can see ptmatlab.dll file in the
Kepler-1.0.0\lib folder. I'm fairly new at Kepler, so please excuse me if
this is a dumb question.

ptolemy.kernel.util.IllegalActionException: There was a problem invoking the
Ptolemy II Matlab interface.
The interface has been tested under Windows and Linux.
The interface requires that Matlab be installed on the local machine and
that the ptmatlab shared library available.
Refer to $PTII/ptolemy/matlab/makefile for more information.
  in .<Unnamed Object>.MatlabExpression
Because:
java.lang.NoClassDefFoundError
    at ptolemy.matlab.Expression.preinitialize(Expression.java:205)
    at ptolemy.actor.Director.preinitialize(Director.java:865)
    at
ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:527)
    at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1103)
    at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:913)
    at ptolemy.actor.Manager.initialize(Manager.java:578)
    at ptolemy.actor.Manager.execute(Manager.java:321)
    at ptolemy.actor.Manager.run(Manager.java:1071)
    at ptolemy.actor.Manager$3.run(Manager.java:1112)
Caused by: java.lang.NoClassDefFoundError
    at ptolemy.matlab.Expression.preinitialize(Expression.java:202)
    ... 8 more
Caused by: java.lang.NoClassDefFoundError
    at ptolemy.matlab.Expression.preinitialize(Expression.java:202)
    at ptolemy.actor.Director.preinitialize(Director.java:865)
    at
ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:527)
    at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1103)
    at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:913)
    at ptolemy.actor.Manager.initialize(Manager.java:578)
    at ptolemy.actor.Manager.execute(Manager.java:321)
    at ptolemy.actor.Manager.run(Manager.java:1071)
    at ptolemy.actor.Manager$3.run(Manager.java:1112)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20090629/6e98c420/attachment.html>


More information about the Kepler-users mailing list