Compiling of MEXW32 in 64 bit system
5 次查看(过去 30 天)
显示 更早的评论
Hi
I have recently upgraded my system to windows 7. I need to recompile all my libraries in 64 bit to use them. Can any one help me how to recompile mexw32 in 64 bit so that i can get mexw64 and i can use them successfully.
Thanks in Advance.
2 个评论
Kaustubha Govind
2013-10-7
Not sure what you mean by libraries - do these just include MEX-files, or other standalone libraries that your MEX-files link against? For MEX-files, you can just use the mex command on your 64-bit machine to obtain 64-bit MEX-files.
回答(1 个)
Jan
2013-10-7
You cannot compile a mexw32 to a mexw64. You require to compile the C-, C++, Fortran or whatever source files again. Notice that e.g. C and C++ contain a lot of dangerous pitfalls for the conversion from 32 to 64 bit code. This is not trivial and an exhaustive testing is obligatory.
2 个评论
Jan
2013-10-7
You can install a 32 bit version of Matlab easily on a Windows64 computer. Then you still need the 32 bit libraries, but cannot profit from the 64 bit addressing (huge arrays etc).
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!