How can I obtain my Windows system information?

조회 수: 91(최근 30일)
How can I obtain the following information on my Windows machine:
CPU: processor type, number of processors, processor speed
MEMORY: total physical memory, available physical memory
GRAPHICS: resolution, refresh rate
OPENGL: version, vendor, renderer, extensions
PRINTER: default printer name, printer driver, driver location
HOSTID: HostID, IP address, disk serial number
OPERATING SYSTEM: version, language
SYSTEM DLL
DONGLE
ENVIRONMENT
JAVA: classpath

채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 11월 8일
편집: MathWorks Support Team 2019년 11월 8일
If you are using Microsoft Windows as your operating system, your system information can be obtained using the Windows System Profiler.
To use the Windows System Profiler:
1. Download 'profiler.exe':
2. Run "profiler.exe" once it has been saved to your computer.
3. The MathWorks System Profiler will start, and display all the configuration information of your system.
4. Use File > Save to save a copy of this information as a text document.
  댓글 수: 2
SHAILENDRA PANDEY
SHAILENDRA PANDEY 2020년 2월 24일
call system inbuilt command
system('lscpu')
system('systeminfo')

댓글을 달려면 로그인하십시오.

추가 답변(2개)

SHAILENDRA PANDEY
SHAILENDRA PANDEY 2019년 9월 15일
In Windows system
system('systeminfo')
In Linux system
system('lscpu')
  댓글 수: 1
Sam Cook
Sam Cook 2020년 2월 25일
At least with Windows, this method does not include all of the requested information (like OpenGL and other graphics info). Depending on what you are looking for, the command:
!systeminfo
may suffice.

댓글을 달려면 로그인하십시오.


Jiri Voltner
Jiri Voltner 2022년 3월 29일
>> version
ans =
'9.10.0.1851785 (R2021a) Update 6'
>> system('systeminfo')
Host Name: JVONB11
OS Name: Microsoft Windows 11 Enterprise
OS Version: 10.0.22000 N/A Build 22000
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: user
Registered Organization: ERA a.s.
Product ID: 00329-10181-31939-AA065
Original Install Date: 17/02/2022, 16:46:19
System Boot Time: 28/03/2022, 09:38:27
System Manufacturer: Dell Inc.
System Model: Latitude 5421
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 141 Stepping 1 GenuineIntel ~2918 Mhz
BIOS Version: Dell Inc. 1.8.0, 10/12/2021
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume1
System Locale: cs;Čeština
Input Locale: cs;Čeština
Time Zone: (UTC+01:00) Praha, Bratislava, Budapešť, Bělehrad, Lublaň
Total Physical Memory: 16,111 MB
Available Physical Memory: 4,494 MB
Virtual Memory: Max Size: 20,975 MB
Virtual Memory: Available: 3,770 MB
Virtual Memory: In Use: 17,205 MB
Page File Location(s): C:\pagefile.sys
Domain: pce.era.cz
Logon Server: \\ESDC1
Hotfix(s): 3 Hotfix(s) Installed.
[01]: KB5009469
[02]: KB5011493
[03]: KB5009641
Network Card(s): 6 NIC(s) Installed.
[01]: Intel(R) Wi-Fi 6 AX201 160MHz
Connection Name: Wi-Fi
Status: Media disconnected
[02]: Intel(R) Ethernet Connection (14) I219-LM
Connection Name: Ethernet
Status: Media disconnected
[03]: Realtek USB GbE Family Controller
Connection Name: Ethernet 2
DHCP Enabled: Yes
DHCP Server: 172.20.0.100
IP address(es)
[01]: 172.20.5.140
[02]: fe80::d920:2879:a2b0:c3e8
[04]: Bluetooth Device (Personal Area Network)
Connection Name: Síťové připojení Bluetooth
Status: Media disconnected
[05]: Fortinet Virtual Ethernet Adapter (NDIS 6.30)
Connection Name: Ethernet 3
Status: Media disconnected
[06]: Fortinet SSL VPN Virtual Ethernet Adapter
Connection Name: Ethernet 4
Status: Media disconnected
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
ans =
0

Community Treasure Hunt

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

Start Hunting!

Translated by