Josh wrote[quote='Josh' pid='4505' dateline='1666379671']
Hello Yuzhi,
Can you please describe the contents of current_display.mat?
Thanks,
-Josh
Hi Josh,
Finally I could manage to run the stimuli with PsychToolboxVideoPlayer function. The issue was that the screen was flashing between frames though the dots were moving. any modifications I can make to remove the flashes? I cannot attach the moviedots.mat file here (I am not sure why) which I used to run from bpod so that you can advise me better. thanks in advance.
load ('moviedots.mat')
Screen('Preference', 'SkipSyncTests', 0);
V = PsychToolboxVideoPlayer(0, [1920 1080], [0 0], [0 0], 0);
for i = 1:60
current_display = double(moviedots(i).cdata);
V.loadVideo(1, current_display);
V.play(1);
end
clear V;