[kepler-users] Invoking MATLAB interface

Peter Li yli61 at jhu.edu
Thu Jul 2 11:09:22 PDT 2009


Hi,

Yes, both PATH environment variables are right and I can run Matlab from the
command prompt.

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.

I'm running Matlab 7.8.0.347 R2009a version.

Thanks,

Peter

>
>
>
> On Tue, Jun 30, 2009 at 1:55 PM, Daniel Crawl <crawl at sdsc.edu> wrote:
>
>>
>> Hi Peter,
>>
>> On windows, make sure the PATH environment variable
>> includes both the Matlab bin and win32 directories. (Other
>> things to check: make sure those directories exist, and
>> see if you can run "matlab" from a cmd prompt).
>>
>> I've noticed that when the Matlab actor can't find Matlab,
>> the exception it throws changes. The first one usually
>> describes the actual problem, but subsequent exceptions
>> are NoClassDefFoundError like the one in your email. Do
>> you get a different exception the first time you try to
>> run the workflow? If so, could you please send it to me?
>>
>> Also, which version of Matlab do you have?
>>
>> Thanks,
>>
>>  --dan
>>
>>
>> Peter Li wrote:
>>
>>> 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)
>>>
>>>  ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Kepler-users mailing list
>>> Kepler-users at kepler-project.org
>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20090702/0942c98d/attachment.html>


More information about the Kepler-users mailing list