List of version number for each ML version including numbered updates?
Ältere Kommentare anzeigen
Is there an overview published - e.g. a list - which answers the following question:
Which ist the exact "version" of each main release or update with a certain number.
e.g.
ML 2020b ==> 9.9.0.123456
ML 2020b update 1 ==> 9.9.0.246802
...
Thank you
2 Kommentare
Adam Danz
am 23 Apr. 2021
This doesn't include a list of updates but to see a table of Matlab release names and their corresponding version numbers see the Matlab Wiki page.
Tom Hawkins
am 23 Aug. 2024
That Wikipedia page no longer contains a table of release names and version numbers.
Akzeptierte Antwort
Weitere Antworten (1)
You find list e.g. here:
- https://www.mathworks.com/matlabcentral/answers/492752-table-of-matlab-release-features
- https://www.mathworks.com/matlabcentral/fileexchange/63569-matlabrelver-s
- https://en.wikipedia.org/wiki/MATLAB
But these lists do not contain the release numbers of updates.
One of the problems for creating such a list is that MathWorks has changed the naming scheme repeatedly. So updates have been called "SP", "ServicePack" and "Update". The releases have been called "Volume 8", "R11.1", "R13SP2" until they have found the current scheme "R2006a". After version 7.9 they decided to publish 7.10, which let crash many codes cofusing this with 7.1 by a numerical comparison.
I've adjusted my methods for identifying the version and release over a dozen of times now and I do not dare to publish them, except for the simple methods shown above.
This seems to be a standard in modern software development. The jump from Windows 7 to Windows 10 was as smart as calling the "2003" update "2004" to avoid a confusion with Windows Server 2003. The next idea "20H2" was surprising also and even the builtin tools have expected a numerical values, such that a new registry key conatins "20H2" while the formerly used one is "2009".
My conclusion: Do not rely on methods to determine a specific Matlab version or update. Prefer using unit tests, which check, if the code works as expected and if these tests fail, print the question in colorful letters:
fprintf(2, '??? Did you install the latest updates of MATLAB?\n')
2 Kommentare
Bernhard Klingseis
am 3 Feb. 2021
Adam Danz
am 23 Apr. 2021
Nice function, Jan! This is what I was describing as a requested extension of the version function in Steven's answer.
Here's the update if you're maintaining the function
'9.3', 'R2017b'; ...
'9.4', 'R2018a'; ...
'9.5', 'R2018b'; ...
'9.6', 'R2019a'; ...
'9.7', 'R2019b'; ...
'9.8', 'R2020a'; ...
'9.9', 'R2020b'; ...
'9.10', 'R2021a'};
Kategorien
Mehr zu Share and Distribute Software finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!