Hello,
I am creating an experiment using the Eyelink toolbox. We will be having people read text, and I want to create an interest area around each word. I'm wondering if there is an easy way to either:
1) automatically generate an interest area for each individual word or
2) easily get the location of each word in a text string so I can use that information to create rectangular interest areas.
The best option I have so far is looping through a "DrawFormattedText" command for each word and getting the text bound for each word, but this is a little clunky and also doesn't work very well when I have line breaks.
Is there a way for me to generate these interest areas automatically in Matlab using the Psychtoolbox/Eyelink toolbox extensions?
Thanks!
Amanda