| function trial = runTrainTrial(disp_struct, task_struct, trial, ioObject, LTP1address) | |
| % blank screen | |
| WaitSecs(1); | |
| Screen(disp_struct.wPtr, 'Flip'); | |
| % show the choice condition | |
| trial = runConditionNotice(disp_struct, task_struct, trial, ioObject, LTP1address); | |
| WaitSecs(0.5); | |
| % show the stims, and get the choice, show the FB | |
| TRAINTEST=1; | |
| trial = runChoice(disp_struct, task_struct, trial, TRAINTEST, ioObject, LTP1address); | |
| end % function |