Demos and examples

Before running any demos please make sure you have the latest version of PsychBench since they may use features only available in recent versions. You can type pb_update at the MATLAB command line to check.

Coding method

Below are links to demo experiment scripts in the coding method (MATLAB m files). These are also available locally in <><PsychBench folder><>/demos, so if you want to run one you can just do it from there.

Experiments

Flanker arrows
Flanker arrows
Flanker colors
Flanker colors
Go/No-Go
Go/No-Go
Retinotopy
Retinotopy
Stroop
Stroop
Stroop w/ sound recording
Stroop w/ sound recording
Walker directions
Walker directions
Walker directions staircase
Walker directions staircase
Wisconsin card sorting
Wisconsin card sorting
loadSheets() / Complex counterbalancing – script
loadSheets() / Complex counterbalancing – script

Patterns

Feedback
Feedback
Scanner, sync in each block
Scanner, sync in each block
Scanner, sync in each block, jittered inter-stimulus interval
Scanner, sync in each block, jittered inter-stimulus interval
Scanner, sync in each trial
Scanner, sync in each trial
Staircase
Staircase
Stereo display
Stereo display

Visual method

Below are links to demo experiment spreadsheet files in the visual method (Google Sheets files). You can make copies in your own Google account if you want to modify them (Google Sheets → File → Make a copy) and download them to run them (Google Sheets → File → Download → Microsoft Excel). If there is no link then we just haven't gotten around to making the visual method version yet.

Experiments

Flanker arrows
Flanker arrows
Flanker colors
Flanker colors
Go/No-Go
Go/No-Go
Retinotopy
Retinotopy
Stroop
Stroop
Stroop w/ sound recording
Stroop w/ sound recording
Walker directions
Walker directions
Walker directions staircase
Walker directions staircase
Wisconsin card sorting
Wisconsin card sorting
loadSheets() / Complex counterbalancing – script
loadSheets() / Complex counterbalancing – script

Patterns

Feedback
Feedback
Scanner, sync in each block
Scanner, sync in each block
Scanner, sync in each block, jittered inter-stimulus interval
Scanner, sync in each block, jittered inter-stimulus interval
Scanner, sync in each trial
Scanner, sync in each trial
Staircase
Staircase
Stereo display
Stereo display