These scripts recreate selected figures published in Alexander & Brown (2011) with the PRO model.  The figures are from simulations with the Change Signal Task and the Eriksen Flanker Task.  In order to change which task the model performs, edit the pro_model.m script to include either of the following lines of code:

task = 'change_signal_task' (Recreates figures 1B and 3A,B)
task = 'flanker_task'       (Recreates figures 2B and C, but not 2A)

Figure 4 is not recreated with these scripts.

Additional matlab scripts are contained in the included subdirectories that determine task and model parameters, while the pro_model.m script contains the core model equations (with references where appropriate to the equations in Alexander & Brown, 2011).  Note that the change_signal_task simulation simulates a single subject, while the 'flanker_task' simulation runs 10 subjects and thus may take a good chunk of time to complete.
