Thanks for replying again. I've got the mlabwrap module to work now
using python 2.5 and the corresponding binary file from sourceforge.net. Is
it possible to give a command in Python to run a .m file in Matlab and
return the answer to Python?
----- Original Message -----
From: "Alexander Schmolck" <a.schmolck@...>
To: "Mlabwrap-user list" <mlabwrap-user@...>
Sent: Friday, June 29, 2007 11:54 AM
Subject: Re: [mlabwrap-user] mlabwrap Error
> "Jonathan Makem" <jmakem01@...> writes:
>> Thanks for the info. I also tried to install the mlabwrap module on my
>> PC using windows 32 .exe, Matlab R13 6.5 and python 2.4 (numpy
>> installed). However, whenever I tried to import mlabwrap, the following
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in ?
>> File "C:\Program Files\Python24\Lib\site-packages\mlabwrap.py", line
>> 193, in
>> import mlabraw
>> ImportError: DLL load failed: This application has failed to start
>> because the
>> application configuration is incorrect. Reinstalling the application may
>> this problem.
>> Do you have any idea what the problem is this time? Your help is much
> I can't be sure, by I think this may be due to your matlab version. The
> studio build is against matlab 7.1 and the borland C++ binary of mlabwrap
> compiled against matlab 7.0 so it might well not work with earlier
> versions of
> matlab like 6.5, although I'd assume slightly later ones should work.
> As I mentioned, as a last resort you can try compiling mlabwrap on windows
> yourself -- it's definitely possible with either visual studio, borland
> c++ or
> cygwin, but I gather that building python extensions on windows can be
> quite a
> challenge -- have a look at the webpage and possibly the mlabwrap archives
> some hints from people who've done it.
> If you do manage to provide a visual studio build against matlab 6.5 that
> works, please let me know.
> Sorry I can't be of more help, maybe someone who uses windows can chip in.
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> Mlabwrap-user mailing list