% Reset sensors
sensor_reset(h,2);

% Initialize Data
data=[];

t=timer;
t.Period=1;
t.ExecutionMode='fixedRate';
t.TimerFcn='capture_sensors';

start(t);
