About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 32
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Xin Zhao (4 other programs)
See full specifications

scripts default iconSystem Information Class for Windows (Scripts) Publisher's description

Recently, we just got an interesting question about how to measure the CPU usage of current MATLAB process

Recently, we just got an interesting question about how to measure the CPU usage of current MATLAB process.

Frankly speaking, during my more than 5 years working in The MathWorks, I never thought we can do it inside MATLAB. But with the recent and excellent .Net support, this is actually quite easy and straightforward.

This class, wrapping all the basic information regarding to you Windows machine, gives you full knowledge of the performance you may want to know.

the detailed information includes:
1. Machine Name, Total Physical Memory, Processor(CPU) information
2. CPU usage in %
3. Memory usage in MB

the class has one important public method called 'measure', every time you call it, it will measure and store the CPU usage and memory usage.

the class has been tested in Winxp, Vista(SP1), Windows 7, but feel free to send me fix requests.

At the end there is a demo of using this class.
1. run startRecordPerformance
2. do what ever you want to do, (don't use clear all, of course)
3. run stopRecordAndDisplay
4. do your clean up, say 'delete(perfData), delete(t)'

Note: I am working on a GUI version for performance measurement purpose(using this class of course), so I need the processor information.
But this info needs to read the registry of windows, and it makes the class initialization slow. Unfortunately that's the only easy way I know in MATLAB, so if you don't need it, delete the specific lines in the class.

System Requirements:

MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

System Information Class for Windows (Scripts) Tags:

Click on a tag to find related softwares

Is System Information Class for Windows (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.