Psychtoolbox-3

Psychophysics Toolbox Version 3 (PTB-3) is an open-source set of Matlab and GNU Octave functions for vision and neuroscience research. It makes it easy to synthesize and show accurately controlled visual and auditory stimuli and interact with the observer. Some of its functionality is available as part of Python toolkits like PsychoPy. For licenses, commercial support and services visit psychtoolbox.net. Follow us on Mastodon, BlueSky, or Twitter @psychtoolbox

  • Getting started
    • News
    • Overview
    • Versions
    • System Requirements
    • Download
  • Getting help
    • Beginner Tutorial
    • Function Reference
    • Community Forum
    • General FAQ
    • Software License keys FAQ
  • Diving in
    • Contribute work or money to the project
    • Wiki
    • Bugs & Feature requests
    • Commercial services
    • Git repository
  • Community Forum
  • Download PTBZIP File

GetMyCaller

>Psychtoolbox>PsychOneliners

caller=GetMyCaller

GetMyCaller returns the name of its caller by using MATLAB’s dbstack
function. If invoked from the command line, then GetMyCaller returns
‘base’.

see also: dbstack

2004 awi Wrote it.
1/29/05 dgp Cosmetic.
10/24/05 awi Cosmetic.
01/13/07 dhb Update comments for PTB-3 universe.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/GetMyCaller.m

edit and fork this page on GitHub

Last updated on May 28, 2025