Compiling of MEXW32 in 64 bit system
Show older comments
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 Comments
Kaustubha Govind
on 7 Oct 2013
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.
niharika
on 7 Oct 2013
Answers (1)
Jan
on 7 Oct 2013
0 votes
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.
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!