CPU ID and EXE

I want to find the serial number of my processor using matlab..plz help me in this problem.. and also i want to find source code of exe file..how to do this.

回答(3 个)

Walter Roberson
Walter Roberson 2012-2-17

1 个投票

.exe files generated by MATLAB Compiler cannot be converted back in to source code in any meaningful way.
You can run any command to the operating system via the bang (!) command, something like this (for a Windows machine) will give you your processor information:
!wmic cpu
Will give you a bunch of information about your CPU (on Windows).
!wmic bios get serialnumber
Should get you your serial number.

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by