Module PY2919-KP04
Stimulus programming using Psychtoolbox (PTB) with Matlab® (StimPTB)
Duration
1 Semester
Turnus of offer
each winter semester
Credit points
4
Course of studies, specific fields and terms:
- Bachelor Psychology 2027, optional subject, psychology
- Master Psychology - Cognitive Systems 2022, optional subject, psychology
- Bachelor Psychology 2016, optional subject, psychology
- Bachelor Psychology 2020, optional subject, psychology
Classes and lectures:
- Stimulus programming using Psychtoolbox (PTB) with Matlab® (seminar, 2 SWS)
Workload:
- 90 hours private studies
- 30 hours in-classroom work
Contents of teaching:
- First steps with Psychtoolbox (Installation, start and open windows, primary sources of errors)
- Matlab functions that are important for Psychtoolbox usage
- Create visual stimuli using text, images, objects
- Interactive animation and movement of objects
- Create interactive experiments
- Working with sound
- Create small experiments with graphical user interfaces (GUIs)
Qualification-goals/Competencies:
- Students have knowledge of programming with Psychtoolbox in Matlab.
- Create small experiments.
- Implementation of scientific research questions in experiments, development of solution strategies
Grading through:
- Exercises
Responsible for this module:
Teacher:
- Department of Neurology
- Dr. rer. hum. biol. Andreas Sprenger
- Prof. Dr. rer. nat. Marcus Heldmann
Literature:
- Internet Documentation Psychtoobox : https://docs.psychtoolbox.org
- Internet Matlab Documentation : http://de.mathworks.com/help/matlab
Language:
- Will be offered using an audience-oriented mixture of German and English
Notes:
Admission requirements for taking the module:- None
Admission requirements for participation in module examination(s):
- Seminar performance is deemed to have been achieved if at least 80% of the exercises have been successfully completed. Bachelor's and Master's students fulfill different levels of difficulty.
Module examination(s):
- PY2919-L1: Module name, exercises, submission, 100% of the module grade (unrated, B certificate)
Previous knowledge of Matlab is required, e.g. for Bachelor students: PY2917, for Master students: PY4880. Alternatively, Matlab introductory videos and tutorials can be worked through independently (https://de.mathworks.com/support/learn-with-matlab-tutorials.html). The Matlab Onramp course shows the most important commands and ways of working with Matlab. All tutorials on Mathworks.com are free of charge for students and employees of the University of Lübeck; a Mathworks account is required, which can be obtained via uni-luebeck.de or the student.uni-luebeck.de email address.
The course can also be offered in English, if desired by all. Previous knowledge of Matlab required, e.g. for Bachelor students PY2917-KP04, for Master students PY4880-KP04.
Last Updated:
12.11.2025