Get the name of the CPU

Methods to get the name of the CPU on Windows, Linux and Mac
323 téléchargements
Mise à jour 29 oct. 2014

Afficher la licence

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)

Citation pour cette source

Jerome Briot (2024). Get the name of the CPU (https://www.mathworks.com/matlabcentral/fileexchange/48303-get-the-name-of-the-cpu), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Search Path dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0