mexw32 to mexw64

Hi! I have downloaded some code from a web which I want to run in my 64bit windows.It has lots of c and c++ programs included in it. Most of them where compile for windows 32 bits, but as the .c program was there, I re-compiled it in my machine and got the mexw64 that I needed. But then it happens that there is a file from which I just have the mexa64, mexglx, mexw32 and dll files. I would like to know if there is some way to convert the mexw32 to mexw64, so I can use it. Thanks a lot!

1 Comment

Sorry, I don't know of any way to convert a 32-bit binary to a 64-bit binary without recompiling. You can however install 32-bit MATLAB on 64-bit Windows to run your mexw32 files. See this page for caveats: http://www.mathworks.com/support/solutions/en/data/1-1CAT7/index.html?solution=1-1CAT7

Sign in to comment.

Answers (1)

Andreas Goser
Andreas Goser on 2 Aug 2011

0 votes

I also believe there is no way to convert and recompiling is the only way.
The point is: What to do if you do not have the source code? I am aware of a major customer that is in a dependency situation with a small engineering company that asks for a significant amount of money for a 64 Bit version of their software. I can just suggest to make sure all project partners are in agreement about what deliverables are part of a contract...

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 2 Aug 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!