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
    • Paid Support
    • 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
  • Paid Support
  • Community Forum
  • Download PTBZIP File

BreakLines

>Psychtoolbox>PsychFiles

strArray=BreakLines(str)

Accept a string, “str”, and return a cell array of strings
broken at the line terminators in str. The terminators used in the string
are automatically detected (see platforms list in ReplaceLineTerminators
for supported line terminators).

see also: ReplaceLineTerminators

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychFiles/BreakLines.m

edit and fork this page on GitHub

Last updated on April 26, 2025