GetSecs

Hello there,

I am using Psychtoolbox on Ubuntu 12.04. I am getting a constant value for GetSecs in MATLAB and Octave both even after half an hour gap. On Windows, it is working fine.
Anyone has idea why this could be happening and how it could be fixed?

Thanks,
Uday


That is very unlikely. The Linux GetSecs clock starts at the very early time (year 1900?), so the number is huge. You might be seeing only those high digits so there is no change within hours.
Try following:
t = GetSecs;
GetSecs - t  % after several seconds

Is the answer zeros?

-Xiangrui