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 个评论

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

请先登录,再进行评论。

回答(1 个)

Andreas Goser
Andreas Goser 2011-8-2

0 个投票

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...

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

提问:

2011-8-2

Community Treasure Hunt

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

Start Hunting!

Translated by