The model simulations can be conducted by running the Matlab function CGFmodel.m and passing in parameters that define a single simulation.

For example you can run the simulation for a single target with this:

Salience = 1;
Vsep = 0;
Single = CGFModel(1,0,Salience,Vsep,'SingleTarget');  

-Single.AMHistory is a history of the attention map at each time step for each location.

-Single.N2pc contains the simulated N2pc 

The model simulations can be visualized by running the function "NeuralExplorer.m".  It displays the interactive GUI visualization of activation at the LV (Late Visual) layer and AM(Attention Map) layer. By clicking on the button "Less" or "More", one could either play backward or forward the activation in time where reddish colors = excitation and blueish colors = inhibition.  


To run all of the simulations in the Tan & Wyble 2014 paper, run the script allsims.m.


