Get the name of the CPU

版本 1.0.0.0 (4.6 KB) 作者: Jerome Briot
Methods to get the name of the CPU on Windows, Linux and Mac
330.0 次下载
更新时间 2014/10/29

查看许可证

getCpuName returns the name of the CPU:

>> getCpuName

ans =

Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz

By default, it uses C-MEX files. The MEX files use the CPUID opcode. Source files is provided in the zip file. Compiled MEX are also available at this address : http://briot-jerome.developpez.com/sources/matlab/getcpuname/mex/

getCpuName can also call system commands: wmic on Windows, /proc/cpuinfo on Linux and machdep.cpu on Mac.

Last, getCpuName can query the Windows registry.

See also "CPU Info" by Ben Tordoff (http://www.mathworks.fr/matlabcentral/fileexchange/33155-cpu-info)

引用格式

Jerome Briot (2025). Get the name of the CPU (https://www.mathworks.com/matlabcentral/fileexchange/48303-get-the-name-of-the-cpu), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0