recompile mex for different platform

9 views (last 30 days)
I am using MatLab Student R2014a. I have mex files compiled for mexw64 and need to recompile them for mexmaci64. All my browser searches have not turned up anything helpful on this specific issue. Help! Thanks!
  2 Comments
Gnaneswar Nadh satapathi
Gnaneswar Nadh satapathi on 3 Apr 2014
Dear a Kim, 64-bit does not support Mex as the matlab files has to be converted into c executable it needs C-coder, which is not a supported version of matlab. for any type of conversion, 32-bit is recommended
Walter Roberson
Walter Roberson on 3 Apr 2014
That is not correct, Gnaneswar

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Apr 2014
There is no method for taking a compiled .mexw64 and converting it to .mexmaci64 . You need to start with the source and compile it.
64 bit .mex generation is supported on all current platforms.
  1 Comment
Kim
Kim on 3 Apr 2014
Thanks for the help. This is what I thought the answer would be. I was trying to convert instead of recompiling the source code because I can not open the source file on my Mac. Thanks again!

Sign in to comment.

More Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) 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!