Hello,
I've been having problems running even a basic script using Psychtoolbox 3. I have tried it on two computers with no luck. This script worked with Psychtoolbox 2. I have also updated both computers I tried it on to Matlab 7.4. The problem I am having is that the screen comes up in color, and the text is flashed in the correct location, but it only remains on-screen for a split second. The screen, in color, remains up for the set 6 seconds. Is this a problem with the DrawText function? Am I coding this incorrectly? Thank you!
window = Screen('OpenWindow',0,[200 0 120]);
Screen('TextFont',window,'Arial Bold');
Screen('TextSize',window,[30]);
Screen('DrawText',window,'Test.',100,100,[255]);
pause(6);
Screen('CloseAll');
I've been having problems running even a basic script using Psychtoolbox 3. I have tried it on two computers with no luck. This script worked with Psychtoolbox 2. I have also updated both computers I tried it on to Matlab 7.4. The problem I am having is that the screen comes up in color, and the text is flashed in the correct location, but it only remains on-screen for a split second. The screen, in color, remains up for the set 6 seconds. Is this a problem with the DrawText function? Am I coding this incorrectly? Thank you!
window = Screen('OpenWindow',0,[200 0 120]);
Screen('TextFont',window,'Arial Bold');
Screen('TextSize',window,[30]);
Screen('DrawText',window,'Test.',100,100,[255]);
pause(6);
Screen('CloseAll');