Code covered by the BSD License
perfData = SysInfoData; t = timer; t.Period = 0.5; t.ExecutionMode = 'fixedRate'; t.TimerFcn = @(obj, evnt)perfData.measure; t.TasksToExecute = Inf; start(t);
Contact us