I am trying to run the code from the Bakker at al 2012 Neuron paper, as our lab wants to use the continuous version of the task. I am running it on a Windows computer. I am getting an error
imread>get_full_filename (line 566)
file foils/foil_1040.jpg does not exist.
I am wondering if I am missing a folder of images. I have the Set C and Set D as well as SetC bins.txt , SetD bins.txt and Set1.txt and Set2.txt, but no folder designated as foils. In the GetFileName.m there is a line of code (line 45/46) :
cond = 0; % Foil
fname = sprintf('foils/foil_%d.jpg',stim_num-Offset_Foil+1000); % Foils' filenames start at foil_1001.jpg
and I believe this is where the error is coming from. Does anyone have the missing folder? Is that the problem? Or am I misunderstanding the error message?
Thank you!
Kelly