CPU Info
version 1.3 (4.04 KB) by
Ben Tordoff
Read various bits of information about the CPU and operating system.
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 (2022). CPU Info (https://github.com/BJTor/CPUInfo/releases/tag/v1.3), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with R2016b and later releases
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.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.