mrkrd / matlab_wrapper

Easy to use MATLAB wrapper for Python
GNU General Public License v3.0
78 stars 23 forks source link

matlab_wrapper win32 bit version required #5

Closed dhoomakethu closed 10 years ago

dhoomakethu commented 10 years ago

Hello,

Could you please share a x32 version of matlab_wrapper to be used on win7 system.

Regards Sanjay

mrkrd commented 10 years ago

Hello,

Could you please share a x32 version of matlab_wrapper to be used on win7 system.

Hi Sanjay,

thank you for the interest in matlab_wrapper.

I have no 32 bit version at the moment. It's quite difficult for me to develop and support it, because I have no access to 32 bit versions of Windows and MATLAB.

However, I would gladly include patches to extend matlab_wrapper for 32-bit systems. If you would like to work on that, the best place to start is to:

Next, you would have to see, how thing's work e.g. by running one of the example scripts and debug as needed.

In the end, you could verify, if all tests pass by running py.test.

Cheers Marek

dhoomakethu commented 10 years ago

Hi , Thanks for the hints. I tried the steps you mentioned but I am ending up with matlab runtime error ,when trying to check for any error . I will update you , If I find a working solution for this issue .

Sanjay

mrkrd commented 10 years ago

dhoomakethu notifications@github.com writes:

Hi , Thanks for the hints.

I tried the steps you mentioned but I am ending up with matlab runtime error ,when trying to check for any error . I will update you , If I find a working solution for this issue .

Thanks, I'll be glad for an update.

Which version of MATLAB and Python are you using?

dhoomakethu commented 10 years ago

I am using python 2.7.8 and MATLAB R2007a

On Sun, Oct 26, 2014 at 9:43 PM, mrkrd notifications@github.com wrote:

dhoomakethu notifications@github.com writes:

Hi , Thanks for the hints.

I tried the steps you mentioned but I am ending up with matlab runtime error ,when trying to check for any error . I will update you , If I find a working solution for this issue .

Thanks, I'll be glad for an update.

Which version of MATLAB and Python are you using?

Reply to this email directly or view it on GitHub https://github.com/mrkrd/matlab_wrapper/issues/5#issuecomment-60522327.

mrkrd commented 10 years ago

I am using python 2.7.8 and MATLAB R2007a

OK, please also make sure that both Python and MATLAB are 32-bit. There should be no mismatch.

ralili commented 10 years ago

Hi mrkrd,

I am using your package with windows 7 32-bit and it seems to be working fine. The only change I did is I replaced the line raising an exception if windows was not 64-bits by lib_dir = join(matlab_root, "bin", "win32") Afterwards everything worked smoothly for what I'm using it for. I did not run the test script though.

Thanks for the package, it works great!

mrkrd commented 10 years ago

I am using your package with windows 7 32-bit and it seems to be working fine. The only change I did is I replaced the line raising an exception if windows was not 64-bits by lib_dir = join(matlab_root, "bin", "win32") Afterwards everything worked smoothly for what I'm using it for. I did not run the test script though.

Great and thanks for the feedback. In this case, I think I'll disarm the exception and enable 32-bit systems.

Could you tell me, which version of MATLAB are you running? I would like to update the compatibility table.

Thanks!

Marek

ralili commented 10 years ago

Hi Marek,

I'm running Matlab R2014b

Ralili

mrkrd commented 10 years ago

OK, I have just commited the changes @ralili suggested and enabled 32-bit versions on Windows and Linux. They should be available in the next release. In the case of problems, please re-open the issue or start a new one.