CPU Info
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This function reads various bits of information about the CPU and operating
system, including:
* CPU name
* CPU clock speed
* CPU Cache size (L2)
* Total memory size (bytes)
* Number of physical CPU cores
* Operating system name & version
These are provided by /proc/cpu (Unix), sysctl (Mac) or WMIC (Windows).
Requires MATLAB R2016b or above.
Cite As
Ben Tordoff (2024). CPU Info (https://github.com/BJTor/CPUInfo/releases/tag/v1.6), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.6.0.0 | See release notes for this release on GitHub: https://github.com/BJTor/CPUInfo/releases/tag/v1.6 |
||
1.5.0.0 | See release notes for this release on GitHub: https://github.com/BJTor/CPUInfo/releases/tag/v1.5 |
||
1.4.0.0 | See release notes for this release on GitHub: https://github.com/BJTor/CPUInfo/releases/tag/v1.4 |
||
1.3 | See release notes for this release on GitHub: https://github.com/BJTor/CPUInfo/releases/tag/v1.3 |
||
1.1.0.1 | Updated license |
||
1.1.0.0 | Fix for multi-socket Windows boxes. |
||
1.0.0.0 |