Mercurial > hg > ape
annotate 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 |
rev | line source |
---|---|
b@0 | 1 function PCcheck(hf,noCheck) |
b@0 | 2 |
b@0 | 3 dat=get(hf,'userdata'); |
b@0 | 4 link=dat.test.link; |
b@0 | 5 hQuest=dat.hQuest; |
b@0 | 6 ha=dat.ha; |
b@0 | 7 hb=dat.hb; |
b@0 | 8 butCol=dat.butCol; |
b@0 | 9 |
b@0 | 10 if link(noCheck) |
b@0 | 11 set(hQuest(link(noCheck)),'value',0); |
b@0 | 12 set(ha,'backgroundcolor',butCol); % set bgcolor back to green |
b@0 | 13 set(hb,'backgroundcolor',butCol); % set bgcolor back to green |
b@0 | 14 end |