How can I determine the update release number of my current MATLAB session?
31 views (last 30 days)
Show older comments
MathWorks Support Team
on 13 Jun 2024
Edited: MathWorks Support Team
on 19 Sep 2024 at 20:32
How can I determine the update release number of my current MATLAB session?
Accepted Answer
MathWorks Support Team
on 19 Sep 2024 at 0:00
Edited: MathWorks Support Team
on 19 Sep 2024 at 20:32
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 Comments
More Answers (0)
See Also
Categories
Find more on Platform and License in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!