Is 2010a version compatible with 2019b version?

2 views (last 30 days)
Hello,
I'm going to use new version of Mathlab 2019b, but I want to be sure if all routines/codes in Mathlab 2010a can be run in this new version and in the opposite way.
Thank you very much!
Lucas
  4 Comments
Adam
Adam on 9 Apr 2019
On another note, it would be a good idea anyway to go over code that old again because there may well be newer functions in R2019a that can perform tasks a lot faster than what you may have used in 2010a
lucasaloia
lucasaloia on 12 Apr 2019
Thank you very much for your answers!
I've also asked support and they told me that purchasing a license I can install and activate earlier releases also, so no problem at all!
Thanks again!

Sign in to comment.

Accepted Answer

Jan
Jan on 9 Apr 2019
No, Matlab R2010a and 2019a are not 100% compatible. Of course they are not backward compatible: R2019a uses the modern string type and e.g. double quotes to define strings, which have been forbidden in R2010a. In addition in R2014a the new HG2 graphics system has been introduced, which define graphic handles as new object instead of using the old double handles, which have been prone to bugs.
Many new functions have been added to the toolboxes and some old function are not working anymore or at least show a warning, e.g. dataread, histc, ...
The only way to check the compatibility is to start the unit-test functions for all of your functions, which check the results for valid inputs and the errors for invalid inputs. If all your toolbox function or subfunctions have been tested successfully, an integration test for the GUIs and the complete program will give the next statement about the compatibility. Finally you get even more secure, if you read all the documets in the Release history, which mention many changed, but not all.
If you do not have automatic unit-tests or integration tests for the software, any assumption about the compatibility is guessing only. You cannot be sure even, that the code works reliably at all.

More Answers (0)

Categories

Find more on Historical Contests in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!