Obviously the right dimension is 21x1. The incorrect dimension causes an error at neurostim/noiseclut.m at line 277:
frDr = structfun(@(x) x(stay,:),frDr,'unif',false);
A simple hack is to add the following lines:
if size(frDr.block,1) < size(frDr.block,2)frDr.block = frDr.block';end
Not sure how this happened, but multiple of my cic record had a weird dimension in
frameDrop.block
such as:frDr = get(o.cic.prms.frameDrop,'trial',p.trial,'struct',true);
frDr =struct with fields:
Obviously the right dimension is 21x1. The incorrect dimension causes an error at neurostim/noiseclut.m at line 277:
frDr = structfun(@(x) x(stay,:),frDr,'unif',false);
A simple hack is to add the following lines:
if size(frDr.block,1) < size(frDr.block,2)
frDr.block = frDr.block';
end