Version (2.22 KB) by Jan
Get name of release and version of Matlab


Updated 27 May 2022

View License

MatlabRelVer - reply release and version name
[V, R] = MatlabRelVer(S)
The input can either be the name of a release or a version, then both names are replied:
[V, R] = MatlabRelVer('5.3.1')
V = '5.3.1', R = 'R11.1'
[V, R] = MatlabRelVer('R11.1')
V = '5.3.1', R = 'R11.1' (same result)
This function is rather trivial and I publish it after a question in the forum only.
See also:

Cite As

Jan (2023). MatlabRelVer(S) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Versions until 2022a