How can I determine the update release number of my current MATLAB session?

12 Ansichten (letzte 30 Tage)

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 19 Sep. 2024
Bearbeitet: MathWorks Support Team am 19 Sep. 2024

OPTION 1: Using the "matlabRelease" command

Since the release of MATLAB R2020b, the "matlabRelease" command provides a straightforward way to determine both the release and the update number. When you execute the following command:
>> releaseInfo = matlabRelease
You receive output similar to this:
releaseInfo =    matlabRelease with properties:     Release: "R2022b"       Stage: "release"      Update: 0        Date: 24-Aug-2022
This output indicates that the "Update" is 0, signifying that you are using the General Release of MATLAB R2022b.
For more information about the "matlabRelease" command, refer to the following link.

OPTION 2: Using the "version" command

The "version" command provides a string containing the the complete version and release number for the currently running MATLAB instance. For example, when you run:
>> version ans =     '24.1.0.2689473 (R2024a) Update 6'
This output indicates that the "Update" release number is 6.
There is also a "-description" flag for "version" that returns just the update string:
>> version -description ans = 'Update 6'
NOTE: When you are using a General Release, there will be no Update indicated by "version":
>> version ans = '9.13.0.2049777 (R2022b)'
As a consequence, it is also expected that an empty string is returned when using "version -description" in a General Release:
>> version -description ans =   0×0 empty char array
For further details on the "version" command, consult the documentation:

OPTION 3: Using "About MATLAB"

In addition to the command-line methods, you can also find the update number interactively through the MATLAB Desktop GUI. Access this information by navigating to Help > About MATLAB.

Weitere Antworten (0)

Kategorien

Mehr zu Platform and License finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by