view listeningTest/pairComp/PCcheck.m @ 15:24be5e9ce25b tip

Update README
author Brecht De Man <brecht.deman@bcu.ac.uk>
date Thu, 20 Sep 2018 12:23:20 +0200
parents 4fd284285159
children
line wrap: on
line source
function PCcheck(hf,noCheck)

dat=get(hf,'userdata');
link=dat.test.link;
hQuest=dat.hQuest;
ha=dat.ha;
hb=dat.hb;
butCol=dat.butCol;

if link(noCheck)
   set(hQuest(link(noCheck)),'value',0);
   set(ha,'backgroundcolor',butCol); % set bgcolor back to green
   set(hb,'backgroundcolor',butCol); % set bgcolor back to green
end