Invalid MEX-file using MCR R2012b 32-bit

Hello -
I am using a 64-bit computer with Windows 7. A collaborator compiled the files on a 32-bit computer. A second collaborator was able to use the MCR R2012b 32-bit successfully with the files; however, we are getting the error message:
Invalid MEX-file 'C:\Users\AAMEFF~1\AppData\Local\Temp\1\aa|mcrCache8.0\ FFALoc0\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw32\:
Error in WhiteIndex (line 31)
Error in FFALocalizer_new (line 10)
MATLAB:invalidMEXFile
Note: We have tried to use the 64-bit MCR (with the files compiled on a 64-bit computer) to no avail.
Any suggestions?
Thanks!

답변 (1개)

Walter Roberson
Walter Roberson 2013년 3월 18일

0 개 추천

mex files compiled for 32 bit cannot be used from 64 bit MATLAB. You could, however, install the 32 bit version of MATLAB as well, and use it from the 32 bit version.

댓글 수: 2

Kelly
Kelly 2013년 3월 18일
Thank you for the information.
However, we do not have MATLAB on the computer at all. From what I understand, the MCR should have everything packed and ready to run on a computer that does not have MATLAB installed. Is this not correct?
Thanks.
Walter Roberson
Walter Roberson 2013년 3월 18일
Ah. Use the 32 bit MCR. Then download Dependency Walker from the internet and use it to analyze the program.
I suspect you need to install a compiler runtime library, probably one of the Microsoft Visual C Runtime libraries.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

2013년 3월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by