CPU Info

MATLAB utility for returning information about your processor and memory.
2K Downloads
Updated 18 Oct 2023

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
Created with R2021a
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS Linux
Categories
Find more on Instrument Control Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
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

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.