Matlab 20xx version to vXY version mapping

Besides this obscure forum post there is little information on the Internet.

I extracted the following table from an institutional Matlab installation:

Matlab Version v** Version
2007a v17
2007b v18
2009a v21
2009b v22
2010b v24
2011b v26
2012a v27
2012b v28
2013b v30
2014b v32
2015b v34
2016b v36
2017b v38
2018b v40
2019b v42
2022b v48
2023b v50

which covers the last 17 years of Matlab installations and should therefore be a good reference for most users.