latestver() -- get the release number for the latest MATLAB

Version 1.0.1 (1.47 KB) by DGM
Simple tool to get the short release string for the latest version of MATLAB
9 Downloads
Updated 4 Feb 2022

View License

Get the short release string for the latest version of MATLAB. Output type is a char vector.
This simply scrapes the string from webdocs pages and may not always be accurate in the days near a new release, as I can't guarantee all the pages are updated simultaneously.
This should be compatible with all versions of MATLAB back to at least R2006 or so.

Cite As

DGM (2024). latestver() -- get the release number for the latest MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/97422-latestver-get-the-release-number-for-the-latest-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

latestversion

Version Published Release Notes
1.0.1

added persistence for speed
had to fix regex pattern in an attempt to chase changes in the web page

1.0.0