recompile mex for different platform

11 次查看(过去 30 天)
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 个评论
Gnaneswar Nadh satapathi
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 2014-4-3
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 个评论
Kim
Kim 2014-4-3
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!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by