This »wiki« contains hyperlinked copies of all help texts of Psychtoolbox functions. The purpose is better ergonomy as documentation and searchability. Each page corresponds to one .m file or to a subfunction of a .mex file.
The Psychophysics Toolbox is a collection of Matlab functions
A non-human script generated these pages, so some things may look a little odd.
that extend the language to give you exquisite control of your
computer to test observers with research-grade dynamic stimuli.
Every Psychtoolbox function has its own documentation available through
the Matlab HELP command, and, in the case of MEX files, through the
function itself. We've tried hard to make these individual bits of
documentation clear, accurate, and complete. We're grateful to receive
We've mostly followed Mathworks's help-text conventions, but note that in
our help text we designate optional arguments to function calls by
embracing them with square brackets. You're not meant to include these
brackets when you actually call the function. For example, "help Snd"
will tell you this:
err = Snd(
meaning that the "command" argument is required and the "sig" and "rate"
arguments are optional. A typical call to Snd looks like this:
The most important and generally useful functions, especially Screen, are
. The PsychDemos
will show you how to do useful things in
Matlab with the Psychtoolbox. Try these:
The folder PsychDocumentation
contains bits of documentation about
technical implementation details, how to solve specific tasks and
how to troubleshoot common problems.
To read more, also look at the main website http://psychtoolbox.org
The web site also has advice about getting help, the Psychtoolbox forum,
and the latest information about bugs and new releases:
- Under development. Experimental, risky, undocumented.
alpha-channel blending utilities and constants.
- Basic support routines for psychophysics.
- Under development.
- Calibrate your video monitors.
- Demo calibration data.
- Colorimetric calculations.
- Standard colorimetric data.
- Contributed programs.
- Show how to use the Psychtoolbox.
- Documentation about specific topics.
- Process text files.
- Fit monitor gamma functions.
- Built-in image processing via graphics hardware.
- Interface to plug-in hardware.
- Initialize and deinitialize MATLAB
- Document the few bugs in Matlab 5.2.1.
- Obsolete routines, still present for compatibility.
- Routines for low-level access to OpenGL
- Psychometric function fitting.
- Trivial, but handy, functions.
- Optics calculations, mostly for human optics.
- Priority and Rush. (formerly within PsychBasic
- Probability and statistics.
- Manipulate rectangles for drawing.
- Signal processing and math routines.
- Evaluate performance of software and hardware.
- Functions for realtime video capture.
- Threshold estimation procedure.
If you want to acknowledge use of this software when you publish your
research, you might say something like this, "We wrote our experiments
in Matlab, using the Psychophysics Toolbox extensions (Brainard, 1997;
- Brainard, D.H. (1997) The Psychophysics Toolbox, Spatial Vision 10:443-446.
- Pelli, D.G. (1997) The VideoToolbox software for visual psychophysics:
Transforming numbers into movies, Spatial Vision 10:437-442.