image thumbnail
from System Information Class for Windows by Xin Zhao
This class will query the current system information in MATLAB. Works with R2009a and up.

startRecordPerformance.m
perfData = SysInfoData;
t = timer;
t.Period = 0.5;
t.ExecutionMode = 'fixedRate';
t.TimerFcn = @(obj, evnt)perfData.measure;
t.TasksToExecute = Inf;
start(t);

Contact us