Take the 2-minute tour ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

I have some C++ code that links to matlab2008b. Are matlab 2012a and 2012b backwards compatible with 2008b?

If it's not trivially compatible, are there some simple steps to make it compatible?

share|improve this question
1  
It would help if you stated whether you already tried and/or whether you any foundation to think that they may not be compatible... –  Wolfgang Bangerth Nov 16 '12 at 3:24
add comment

2 Answers 2

up vote 3 down vote accepted

In each version some functions are added, changed and removed. As such newer versions are never fully backwards compatible.

That being said, not that much has changed from 2008 to 2012, so there is a good chance that you can get your code to work with no or few adjustments.

share|improve this answer
add comment

Depends. If the C code is too old, it might not compile or link anymore because of name changes in the eng or mx library. I ran into this when i tried to compile some code from 1992 that supposedly provided a Matlab interface to Mathematica. The reason: it used a datatype called Matrix which has turned out to be mxArray in newer versions of Matlab.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.