The script editor allows sequences of execution commands to be assembled and then executed. Scripts permit the automation of complex experimental designs or the semi-automatic exploration of large parameter spaces.
Scripts may contain the following commands:
set property: Set the value of a box's property. This command allows the values of properties as specified in a box's property panel to be temporarily overridden. A script might, for example, set a buffer's decay rate in order to examine the effects of varying this property on the model's behaviour.
randomise: Generate a new random seed. This command should not be necessary, as the random seed is automatically updated on each reference, and maintained across invocations of COGENT.
initialise subject: Reinitialise all boxes to their subject initial contents
initialise session: Reinitialise all boxes to their session initial contents.
run block: Run N blocks.
repeat: Repeat a given script N times. Once a script corresponding to the experimental procedure for a single subject has been created, the repeat command may be used to automate the running of the script multiple times (corresponding to multiple subjects).
Buttons on the script editor panel allow storing, retrieving, executing and interupting scripts.