You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.5 KiB

This code implements the simulations described in:

M. W. Spratling (2017) A predictive coding model of gaze shifts and the underlying neurophysiology, Visual Cognition, 25(7-8): 770-801.

Please cite this paper if this code is used in, or to motivate, any publications.


This code was tested with MATLAB Version (R2015a).

To use this software:

    start matlab 
    move to the directory containing this code 
    run one of the functions listed below

The following table gives details of which MATLAB function produces each figure in this article.

Figure MATLAB Function
6 control_eye.m
7 control_body_head_eye.m
8,9b-c expts_body_head_eye_coordination_direct.m
9a expts_body_head_eye_coordination.m
10,11 expts_head_eye_coordination.m
12 expts_saccade_accuracy.m
13 expts_working_memory.m
14 control_eye_multitarget.m
15 expts_compression.m
16 expts_gain_modulation_eye.m
17 expts_remapping.m