Getting started / Making an experiment

Files and folders

The root PsychBench folder contains the main functions for making and running an experiment, including functions specific the visual method. It also contains functions for managing PsychBench (e.g. preferences, updating, etc.). You can type help PsychBench at the MATLAB command line for an overview.

Additionally it has subfolders:

  • /coding contains functions specific to the coding method of making experiments.
  • /tools contains little helper tools for making experiments, e.g. randomizing, replicating, finding keyboard key names, etc.
  • /docs contains some local documentation. Main documentation is here online. All documentation is also accessible using the pb command.
  • /demos contains coding method demos and examples. Visual method demos are online.
  • /materials contains some standard stimulus media, e.g. Wisconsin card images, etc. Often for use with picture, sound, or movie elements
  • /element types contains the open source element types that come with PsychBench.
  • /element type programming contains tools for if you want to make custom element types.
  • /core (Don't touch.)
  • <><local element types folder><> is a location for any custom element types you make or receive. Note this is not in the PsychBench folder—it can be anywhere outside PsychBench and you choose it when you install PsychBench.