Version number for MATLAB and libraries
version = version('-versionOption')
[version date] = version
version displays the version and release number for the currently
ans = '18.104.22.1682380 (R2019a) Update 1'
Display the release, prefaced by descriptive text.
['Release R' version('-release')]
ans = 'Release R2019a'
[v d] = version
v = '22.214.171.1242380 (R2019a) Update 1'
d = 'April 3, 2019'
ans = 'Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode'
versionOption— Version option
Version option, specified as one of these values.
Description of the version. Returns:
Version of the Oracle® JVM™ software that MATLAB uses.
version— Version information
Version and release information, returned as a character vector.
date— Release date
Release date, returned as a character vector.