How Can I Get the Windows Version Number in a Script?
9 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2017 年 12 月 5 日
回答済み: MathWorks Support Team
2017 年 12 月 20 日
In a MATLAB script, how can I retrieve the computer's version of Windows?
採用された回答
MathWorks Support Team
2018 年 2 月 7 日
In order to get the Windows version, please execute the following line of code in the MATLAB Command Window:
>> [~, WindowsVersion] = system('ver')
The above command calls the ‘system’ MATLAB function. This MATLAB function tells the operating system to execute the command ‘ver’, which outputs the version of Windows on the computer. For more information about the ‘system’ MATLAB function, please refer to the following link:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!