How can I determine the update release number of my current MATLAB session?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 13 Jun. 2024
Bearbeitet: MathWorks Support Team
am 19 Sep. 2024
How can I determine the update release number of my current MATLAB session?
Akzeptierte Antwort
MathWorks Support Team
am 19 Sep. 2024
Bearbeitet: MathWorks Support Team
am 19 Sep. 2024
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.
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:
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.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Platform and License finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!