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: https://www.mathworks.com/matlabcentral/answers/492752-table-of-matlab-release-features#answer_402944
Cite As
Jan (2026). MatlabRelVer(S) (https://www.mathworks.com/matlabcentral/fileexchange/63569-matlabrelver-s), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
