CPU Info

MATLAB utility for returning information about your processor and memory.

https://github.com/BJTor/CPUInfo

You are now following this Submission

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 (2026). CPU Info (https://github.com/BJTor/CPUInfo/releases/tag/v1.7), GitHub. Retrieved .

Categories

Find more on Instrument Control Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.7

See release notes for this release on GitHub: https://github.com/BJTor/CPUInfo/releases/tag/v1.7

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.