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 个)

Jan
Jan 2013-2-18
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 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

标签

提问:

2013-2-18

Community Treasure Hunt

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

Start Hunting!

Translated by