MATLAB: Working legacy issues, I need a version to revision cross reference

revisionsversions

How can I find out what revision of matlab to use if I know the version?

Best Answer

Do you mean the relation:
Version Release name Release number
Matlab 7.2 R2006a 15
MATLAB 7.11.2 R2010bSP2 24
?
You need a table, e.g. https://en.wikipedia.org/wiki/Matlab#Release_history . The two different counting methods release and version do not follow a strict pattern. This feature is copied from Microsoft Windows, as the fancy ribbons in the GUI.
Writing an M-function, which finds the corresponding other key for a specific input, is not easy: There is e.g. a Version "7.9" and "7.9.1", the release number 24 belongs to R2010, R2010SP1 and R2010SP2.
[EDITED] If this is required dynamically, use FEX: MatlabRelVer