How programmatically know if an Update is installed for a particular matlab release?
16 ビュー (過去 30 日間)
古いコメントを表示
Hello,
MathWorks proposes some Updates for a given release.
For instance, (at this time writing) there are 4 proposed Updates for R2018b; and 2 ones for R2019a.
I know about this post https://fr.mathworks.com/matlabcentral/answers/102880-how-do-i-check-for-updates-using-matlab
but my question is: does a function such ver or version would explicitely indicate which Update if installed (if any) ?
Regards
Pascal
0 件のコメント
採用された回答
Jan
2019 年 5 月 22 日
編集済み: Jan
2019 年 5 月 22 日
Yes. See the output of version:
9.6.0.1114505 (R2019a) Update 2
With
ver('Matlab')
you get the version number only. But with
ver
the output of version is displayed.
1 件のコメント
James Richard
2020 年 5 月 3 日
Could you do it with windows command line?
On cmd,
matlab -help
has the same output as
ver('Matlab')
but not
ver
その他の回答 (2 件)
adam honse
2020 年 10 月 25 日
Maybe this helps.
[ver datestr] = version
ver =
'9.9.0.1495850 (R2020b) Update 1'
datestr =
'September 30, 2020'
0 件のコメント
Jorik Caljouw
2021 年 4 月 2 日
Another way to get this info is with
vd = version('-description')
If no update is installed you get:
vd =
0×0 empty char array
If an update is installed you get (e.g.):
vd =
'Update 7'
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!