running mex 64bit on different matlab versions

Hi,
I am trying to use a mex file compiled for win64, with a matlab R2010a. when using it on a R2010 matlab it works fine. when running it on a R2012a version it crashes and brings down the matlab.
What is the difference between running a 64bit mex in these two versions? can i fix it so that mex i compile on a 2010 will work on a 2012 matlab?
Thanks in advance,
Noam.

답변 (2개)

José-Luis
José-Luis 2013년 2월 18일

0 개 추천

Recompile using the source code.
Jan
Jan 2013년 2월 18일

0 개 추천

I have not observed incompatibilities between a MEX file compiled in on Matlab version and other Matlab versions. But the documentation states, that there is no general compatibility and that a MEX file have to be compiled with the used Matlab version.
Nevertheless, the first thing I'd assume is a bug in the MEX.

카테고리

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

태그

질문:

2013년 2월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by