Home Examples Reaching Task with Gaze Tracking
BeginnerPeripherals

Reaching Task with Gaze Tracking

This sample task demonstrates how to use gaze to drive Kinarm Lab behaviour.

The task is a basic reaching task, with the twist that when the subject looks at the peripheral target (i.e. the second target in each trial), that target will disappear as long as the subject is looking at it. If the subject looks away, it will re-appear again.

Task last tested in Dexterit-E 3.10 and MATLAB 2015a.

Related Tasks

Coding Tips
Persistent Variables
Persistent variables are ones that hold their value between calls to the embedded MATLAB code they are defined in.
Coding Tips
Custom Control of the Trial Protocol Order
Normally, Dexterit-E manages and controls the order in which Trial Protocols (TPs) execute based on what is defined in the block table of the Task Protocol (see the Dexterit-E User Guide for more details).