MATLAB Python

getText

Syntax

user_text = getText(parent, device [,title_str] [,dur] [,bounds]) [] = optional parameters

Description

GETTEXT is a minimal function to get text from a participant.

Usage

user_text = getText(parent, device, title_str, dur, bounds) draws the title_str into the parent window, and passes the remaining parameters into initEasyType to get a temporary datastruct. The user text is extracted from this datastruct and returned. user_text = getText(parent, device) sets title_str, dur, and bounds to default values and returns the user text as a string.