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.

Answers (2)

Jan
Jan on 18 Feb 2013
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.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Asked:

on 18 Feb 2013

Community Treasure Hunt

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

Start Hunting!